Black bears are almost exclusively giant fraidy cats. The only times they'll attack humans are if they're literally starving, are cornered/injured, or are used to humans feeding them.
They won't even attack to protect young. They'll just tree them and run off.
I'm an avid outdoors man, and every single interaction I've had with them was them hauling ass in the other direction when they noticed me.
Usually when I see bears, they’re almost always taking off. I do notice though that when they are feeding, they do hold their ground, like this guy. I sat near him (in my truck of course) just observing him for nearly 15 minutes. He didn’t care about me at all.