I’ve done 10 hour hikes carrying a heavy pack and a P-07 with a reload. I even carried in one of those old school Eagle Industries nylon holster that carries the extra mag (yes I know, but I actually like it!). I’ve done similar hikes with Glocks.
My preference would be to not even need a gun, but unfortunately it can be a needed tool. You obviously know that, just preaching to the choir I guess.
When I ran into the mountain lion, I was glad to have a gun on my person. Thankfully didn’t have to use it.