Probably by getting out of the silicon valley bubble. Work for 'normal' companies that are actually trying to make the world better instead of building the millionth useless social media platform. Choose companies that aren't overvalued 100 times their actual worth (so don't work for Uber, Snapchat or any of those companies with valuations in the higher Billions range, without actually making any substantial profit).