Pepper spray certainly isn't the 'end all, be all' of every situation.
I consider it another tool in a layered defence. I've taken a few good clouds of it over the years, I'd say it works on me.
There simply are those circumstances that arise that do not call for deadly force, human or otherwise.
If nothing else, it may give you the time to take other actions or avenues of escape.