Consider for a moment what it would mean to be forbidden to make a mistake.
Would that actually stop you from making mistakes? No, because you’re human.
Would the mistake you make be totally in vain? No, because there’s almost certainly a lesson to be learned that will help you perform better in the future.
The idea of not being allowed to make mistakes is absurd; of course you’re allowed to make mistakes.
It’s how you learn and grow.