If you do plan to run a startup, and then fail, at least you are prepared for it, and you can still feel good about yourself.
Also, I'd advise to do something that has social impact. If your company is just building the next todo-list, or the next css framework, or the next electronic paperclip, then if you fail to make this a big financial success, you will feel you have wasted part of your life. On the other hand, if you have worked on renewable energy, and failed, then you will still feel good about at least having tried to make the world a better place, rather than just having aimed for the money.