Skills + Confidence = Agency
Agency is everything.
I cannot think of a more important thing for schools and organizations to develop in their students/employees.
Real translatable skills can be learned even if the larger task is unsuccessful. Don't worry about your small failures as long as you're acquiring more skills.
Once you understand that you are, in fact, capable of acquiring and applying new skills you will build your confidence. Now you're capable of anything.