Personally, I worry more about cougars and wolves.
We have both where I live, but I don't usually worry too much about off-leash trail walks during the day. Night time though, I just do leashed up road walks.
I've been to a talk by a local guy who survived an attack by a young grizzly. The feeling of pure helplessness that he expressed was... something.
https://en.m.wikipedia.org/wiki/List_of_fatal_cougar_attacks...
I have come across black bears on several occasions while hiking in Yosemite and Sequoia national park. They have never expressed the slightest bit of interest in me. Give them plenty of space, make plenty of noise, and eventually they will wander away.
Grizzly bears, the other hand, terrify me.
The other 2 times, the bears were feeding on berries in fields near the trail. We made lots of noise, had spray on hand, but the bear just looked at us then kept eating; we made a wide arc around and carried on.
Definitely hair-raising, but not so terrifying that I’m scared away from hiking the area. They’re less skittish than black bears but don’t like people any less.