Better yet carry a high quality firearm.
https://gunwatch.blogspot.com/2019/03/pistols-or-handguns-95-effective-when.html
Or both firearms are more effective against bears.
https://gunwatch.blogspot.com/2019/04/nine-cases-where-both-bear-spray-and.html
Remind me to root out a .45-70 1894 ...., I suspect they work well on Mt. Lions too.