I mean... If he was angry or hungry it wouldn't be lucky at all.
They can outrun his bike easily, and you can't play dead with them.
It was probably lucky that this was an area where people interact with bears often. They aren't too dangerous usually in areas like that because they know to fear people.