We are all at some point going to make a mistake or fail at some endeavor. This is bound to happen to almost all of us.
Some mistakes and failures are far more consequential and can take a long time to recover. However, a mistake or failure only becomes a long-term liability if nothing is learned from the mistake or failure.
If you apply the learning from the mistake or failure into all of your future dealings these shortcomings may turn out to be an asset instead of a liability!