Earlier quoted context omitted.
Obviously it doesn't make sense rationally (you miss 100% of the shots you don't take and all that), but it's emotionally very powerful. It's much easier to emotionally justify giving up (I'm not really interested in switching jobs/getting in to tech/etc.) than it is to face the prospect of being rejected many times. Humans are not rational agents.
You are describing the wrong group of people. The "emotionally justify giving up" you describe is precisely what we observe with the group of people who are not considered failures for doing so: women. For men, that is failure. That is not easy to justify emotionally, it is the very thing they are trying to avoid in the first place. The emotional toll of giving up is the same as the emotional toll of trying and faili…
If we want to trade opinions and anecdotes, I personally know plenty of "real men" who have justified giving up on different goals to avoid the pain of continued failure. Heck, I'll admit to having done it myself: many years ago I thought I might want to work in finance but after applying to a few banks and never hearing back I "decided" that it's not really for me when in reality I was just avoiding the pain of further rejection.
I realize this sounds confrontational, but I really do want to know where you're coming from that men don't give up on things due to fear of failure. In my personal and professional lives, I see it all the time.