People should be reading the literature available before commenting on guns vs bear spray. Alberta has the worlds leading expert on this stuff. Read what he has to say and then draw conclusions. Don’t rely on anecdote. We don’t rely on the UCPs assessment on the CPP we look to an economist. So for bear attacks we should look to bear researchers.
https://www.cbc.ca/amp/1.707738
Summary by CBC
https://wildlife.onlinelibrary.wiley....2193/2006-452
Bear spray paper paywalled but abstract is there
https://westernwildlife.org/wp-conte...-Deterrent.pdf
The above paper going into effectiveness in various scenarios of guns
Anyway based on currently available research bear spray is the better option.
Go read Stephan Herrero.