You will mess up, that much is true.
You can either learn from it or get mad at it, complain about it, wish that it never happened, or give up.
Or, you can learn from it, you can figure out what you did wrong, and you can figure out a way to get better.
“Masters” get mad when they mess up, but the learners, the ones that are learning for life, relish the chance to mess up and learn something new and grow from it.