You're making the assumption that the bear is going to maul you. But bears are not inherently aggressive.
They can become aggressive. But they're not out to get you. The vast majority of bear encounters are from a safe, respectful distance.
You don't have to paint bears as vicious monsters to make yourself feel better.