I have surprisingly survived decades of lengthy bike, backpack and kayak tours in Alaska, Alberta, B.Columbia, Montana, Idaho and Wyoming among Grizzly and black bears in those areas. I also lived off the grid in NW Montana next to the Cabinet Wilderness for two years. (That is where the "bad" bears from Glacier and Yellowstone N Parks are dumped.) I always practice clean camping and food hanging or used bear barrels for food storage and have had no dangerous incidents from many encounters. Most of all I just paid attention to my surroundings with my ears ,eyes and nose.
I carry no weapons- firearm or Bear spray. A surprised and armed camper/cyclist will more likely anger a Grizzly than kill one. A firearm often provides a false sense of security which is exposed when you are shooting at a charging angry Grizzly. I am also lazy and do not want to carry the extra pounds of weapon and ammo.. I also rarely camp in designated campgrounds where animals are habituated to humans.
(Yes, I own guns, was trained how to use them by my Dad and the FBI and can shoot very well. Does my law enforcement experience qualify me to make the above comments?)
I also learned to use ammonia around the four corners of my tent on small sponges. This was an upscale version of the "pee at each corner" advice given to me by a Blackfoot tribe member while backpacking in Montana long ago. I was skeptical but I have seen too many Alaskan Brown, Grizzlies and Black bears approach my tent and veer away when they encounter the ammonia sponges. I have no research to confirm this outcome other than my own direct experience. Maybe I have just been lucky so far.