Working at the wrong startups can be a cure for this. After a failure, you no longer worry about your efforts being pointless in the grand scheme of things. You've already received stark confirmation your efforts are indeed pointless, even in the smaller scheme of internet startups.