Not one thru-hiker I met carried a gun on the PCT. The last gun toter I saw was before mile 300, and despite being a paratrooper vet he was hurting beyond his ability to bear from his heavy pack (not just his gun but the mentality of "better to have it and not need it" in general) and didn't make it much farther from what I heard. I carried a full first aid kit and had Wilderness First Responder training, for emergencies, which came in handy and made my life feel more worthwhile and valid. On the other hand to contribute a different point of view from many of those expressed, I would not want to live with having used a firearm in the vast majority of scenarios they are used, so I do not carry one. I am not a pacifist, I have brawled with people bragging about or who I knew to be abusing children or women. I am willing to play the math and accept the risk of having to protect myself and those I care about with words or fisticuffs in exchange for knowing I will never accidentally or intentionally shoot myself or anyone else.
That aside, I would recommend a WFR to anyone homesteading for the healthcare savings and risk management training alone, but the biggest value is meeting amazing people at every training.