Good judgement is the result of experience. Experience is often the result of bad judgement…
The goal in our pursuits is NOT, not to fail. The goal is to learn. Even if that means failing fairly often.
Learning requires challenging assumptions, bringing in new knowledge and perspectives, trying something different, and being willing to pivot when plans don’t work as planned.
In all these things, there is the risk that your judgement will have been less than perfect. In all these things, there is risk of failure. In all these things, learning will occur that may lead to the wisdom that brings good judgement.
So be thankful for your failures. They point the way to better things.