Even as a software developer I can see some of that in myself. Almost nobody has a story about someone dying or a loss caused by bad software driving them into the field. I love to make things. I love to feel useful - to the verge of 'mansplaining' according to some. As a kid there were times where I was made to feel like I was just in the way. Clearly that affected me. I've no illusions about that being a coincidence. Any more than I doubt that the uber-successful people didn't have a monologue in their heads at some point that went something like, "One day you'll all be sorry," Jonathan Coulton-style.
It's said nobody gets to be a billionaire without hurting a lot of people. Maybe you do it because you're a sociopath. Maybe you do it because you think it's just balancing out some equation in your head. Or maybe it started out that way and at some point you stopped policing yourself on that because it just made you feel bad about yourself, and you felt bad before you made all of these sacrifices so if you start feeling bad again what was the whole point?