If you are under attack, and, you respond with a gun, when the attacker has no weapon, or a lesser one, you might have a problem. I figure if you actually have to use your weapon, you are going to jail, and, you'll probably have to move. Pepper Spray gives you a very effective defensive tool, giving you time to assess, and, it's lighter, easier to carry, plus, it's a better choice on animals, at least for me, then a gun.
Guy at the shop said he used the stuff on a knife attacker, and, the guy still had the knife when the cops arrived.
Life is generally much easier when you don't kill people or animals