What he was looking for was self-actualization. He thought he'd find that through building a company. He was wrong. That doesn't mean building a company js a bad thing! It's more like watering your plants when what they actually need is higher nitrate content.
It's easy to mock the rich for being at a bit of a loss on how to live life, but in their defense, they have fewer models to follow, and many of the most important lessons apply to private rather than public behavior.
There are lots of people out there who unironically believe that "if they only knew how to code" a lot of their problems would be solved. And perhaps they would---but new, unforeseen ones would arrive.
Of course, even better if he puts his money to a good cause without getting cancer.
Market economics has been lifting the world's humans out of poverty at an alarmingly fast rate since 2000. You'll never hear about this in the news of course.
Why I heard that very sentiment this morning on the news.