I made this comment on another post about piracy:
Interesting, as I've grown older, I have had to actively try and keep my morals defined.
Constantly seeing people behave badly and get rewarded for it has increasingly led to me to believe that obeying the rules is a fools game.
Having said that, a lot of things in life come down to random chance.
The startup that you could have joined but turned down - maybe it would have been successful, or, maybe you would have ended up slaving away for 10-15 years only to see it slowly fail.
The girl/boy you could have asked out - maybe that was the one, or maybe they would turn out to be a basket case.
Crossing a powerful CEO and losing your job - maybe keeping the job would have made you rich, or maybe working for such a person would have been soul destroying and broken you.
It's very dangerous to use hindsight to select decision points that you now know would have definitely been the "right" choice to make. That is a path that leads to bitterness and regret.
I'm in a very similar position to you - I'm reaching the end of my career and my thoughts have increasingly turned from "what's the most exciting/interesting/useful thing to be doing" to "I need to make enough money to see myself through to the end - what's the optimum way to do that". The optimum way may be to bend some of the principals that I may have.
Reading through what I've written I hope it doesn't come across as condescending. That is certainly not my intention as I feel in many ways the way you do. Maybe we're both just getting old ¯\_(ツ)_/¯