And that's the thing of it, isn't it? Failing and accepting a failure is itself a skill.
And it can be very hard to learn, especially if you come from a family where a failure is a sign that you are a failure instead of a sign that you are learning.
You're going to fail at failing well. There are going to be times when it hurts, times when your brain is telling you that you should just give up and you'll never get it. Times when a failure is going to frustrate you to no end.
And you can still learn to fail well. You can learn to see it as a sign that you're learning, you can learn to give a little chuckle and say to yourself, well, everyone screws up sometimes, I'm just learning.
It is not easy, but it is important.