Failure is an inevitable consequence of life.
It happens in small ways every day and in major ways (subjectively according to us) each year because that’s the only way life can work.
Our striving for perfection will fall short because what’s perfect yesterday will not be the ideal we want to achieve tomorrow. If nothing changes in your life from year to year, you’ve either reached the point of perfect contentment or you’re avoiding something.
Failure will happen. We don’t have to glorify it (as many online inspirational quotes want to do), but we should be ready to accept it because that’s how we grow.
When failure happens, take some time to reflect on it.
Make a decision going forward to change your thinking about the situation so you can be better prepared for tomorrow. Accept, reflect and move forward.