Bears are pretty chill honestly. I would generally take a bear over a strange man or woman in the woods. Unknown humans with unknown means and intentions are much more dangerous than a bear, hands down. In order: bear, woman, man. But it's like 85% bear, 10% woman, 5% man.
The only bear I'd be concerned about was a bear with a cub. If you see one, you are already in danger. So I'd say single bear > woman > man >>> bear with cub