90% of your plans are going to fail no matter what you do. Get used to it.
People fail. It's inevitable. We all make mistakes, and if you're looking for some way to escape the inevitability of failure, you're going to be disappointed. The long-term consequences of not failing are so miserable that they're almost worth it, and the short-term effects of failure give us a sense of satisfaction.
Whether you're coming to terms with this fact, looking for some way to avoid future failure, or just trying to rewire your brain around the idea that these things happen when you do something complicated with intention, failure is a hugely important part of life.
It's a big concept to wrap your head around, so let's start at the beginning.
Failing is crucial because it gives us feedback on how to improve ourselves. If we hadn't grown as a culture since the industrial revolution, we still wouldn't have plumbing, indoor heating/cooling/lighting, or other amenities that we take for granted in the 21st century.
It might be hard to imagine, but if you didn't ask people to invent these things and build them using machines that hadn't been created yet (they had the concept, but the equipment just wasn't there), there would be no indoor plumbing. No electricity. No TV. No cars. No internet.
Because we have a growing population, we must continually improve ourselves to adapt and survive as a species. This means that we have to have a feedback loop. If we hadn't kept growing and learning as a society, we wouldn't have any of this stuff. We would be stuck in the middle ages, barely surviving off of the land.
If your company doesn't change and evolve according to feedback from the people who work there and for it, it will fail, and you will lose your job. The same is true if you don't take feedback from the failures in your life and use it to better yourself.
I'm not trying to discount the value of success in any way, but I am trying to point out that a lot more good will come out of learning from failure than out of learning from success.
If you can't fail without changing, you're doing it wrong.
Failing is just another way to put yourself in a position to grow. If you do nothing but succeed, it's unlikely that you'll improve by much. Failing, again and again, allows you to learn from each experience and improve your future performance.