Mistakes happen, esp. as we learn new skills or discover new knowledge in school and other places. So, let's take the opportunity to figure out what went wrong.
Students decide early in life if they have any musical "talent," and that predicts whether they take music classes later. They don't see music ability as a skill.
Parents, coaches, and teachers can encourage kids to develop a growth mindset, as opposed to a fixed one. This will help them keep learning throughout life.