I've carried a G20 for years and more recently a G29. That is what I kept by my side camping in Yellowstone and left the 44 and 357 mag revolvers at home. Ammo matters, and the heavy for caliber hardcast bullets made by companies like Buffalo Bore and Double tap have been used successfully in 10mm on some of the biggest game on the planet. Including Cape Buffalo.
The magnum cartridges, from 6" or longer barrels are more potent. But when fired from 4" and shorter barrels offer no advantage over 10mm. And the more compact Glocks are a lot easier to carry. That is what I based my decision on.
Even at that the real key seems to be just have a gun. Despite the internet and gun shop lore common handguns in cartridges like 9mm, 40S&W, and 45 ACP using standard ammo work pretty well when facts are examined.
https://www.ammoland.com/2019/08/ha...r-attack-73-cases-96-effective/#axzz6RjyEEm9k
https://www.wideopenspaces.com/alaska-man-kills-charging-brown-bear-with-a-9mm-pistol/