I live in black bear country, we get one on our backyard trail camera about 1x per month, and in the neighborhood about weekly or more. Long ago I worked in a campground where there were human-habituated bears that would take food every single night despite being constantly chased off with rocks, air horns, etc. Apart from northern new england and northern NY where I grew up, I've also dealt with bears in the rockies, pacific NW, California, Western and Eastern Canada and Alaska. I'm guessing here, but simply based on an average number of encounters per year and number of years, I have personally had over 200 bear sightings in the field where the animal was within gun range of me, and probably 30-40 face to face encounters where I had to react or do something about the bear, including several sows with cubs. Enough that I feel like I have a pretty decent handle on what "most" bears will do when they encounter a person. My own feeling is that 99.99999% of black bears are terrified of people and will run off at the slightest sign of resistance from a person. Human-habituated bears may bluff or walk toward you, etc, but as soon as the person clearly stands their ground, the bear backs off in a hurry. Therefore, while I know it happens, I really dont think the LIKELIHOOD of a bear attacking me is very high at all--I think it's extremely small and the odds are overwhelmingly stacked toward me never having a bad bear encounter.
Yet, I believe it is also true that more people are injured by black bears than grizzlies--lots of people live in black bear country so there are a lot more encounters. Clearly, they are still large wild animals with teeth and claws, capable of hurting or killing a person. I've been bitten by a friends dog that is a cuddly teddy bear most of the time, in a case where I unintentionally surprised the dog. If a labrador retriever that knows me can bite me, then I figure a bear has to have greater odds of doing me harm in the right (wrong) case. I believe it is also pretty well established that black bears that have attacked people in at least some cases were doing it not from a "surprise reaction" but from predatory behavior, i.e. they were following or stalking a person for the purpose of eating them. So I have also decided that the CONSEQUENCES of a bear attack are very significant, possibly catastrophic.
Balance the likelihood and consequences for yourself. Likelihood+consequence=risk. If you deem the risk unacceptable, take at least 1 precaution that is proven effective and you are proficient and comfortable with.