I’m still packing a Glock 20 with Buffalo Bore 220 gr ammo over a .22 pistol.
Why wouldn't you? It is a good choice.
Many people make comments such as "It will just anger the bear" or "such and such a caliber is useless against bears".
The data shows all calibers can be useful, and no one caliber is the optimum all of the time.
Bears are not bullet proof, nor are they immune to pain.