Usually if you learn something that builds constructively upon who you are, then you can chalk failures up as successes. Early-stage startups very much feel this way: like a process of developing an intuition for understanding how to make something the market wants and then get it to grow. A failure-resilient mindset is actually essential if you want to go into startups. So many people test the water, get scalded, and then give up entirely, which ends up being a huge waste of time.