Messing up is better than giving up.
For you to make a mistake you have to had tired. But don’t give up because of the mistake saying “at least I/you tired.”
That is giving up. That is the only true failure.
We all know we learn from both failure and success.