I have pepper spray and I carry it with me on every hike.
Not for bears, but for dogs. Unfortunately, over the years, I've had growling, unleashed dogs approach me/my child/my leashed dog on the trails -- some owners don't make sure their dog is either on a leash or under strict voice control...