With failure, I think it's important to remember that the universe has no continuity. In the grand scheme of things, there's no plan, no story - just a sequence of events. If you flip a coin a million times and it comes up tails every time, there's still a 50% chance the next will be heads.
The idea that you need to overcome failure is based on the fallacy that failure makes success less attainable. That's a narrative you're building on top of the disconnected events of reality. As long as you still have the resources to think and to create, what does it matter whether things are "going right?" Failure only lasts until you start your next project.