My kid learnt a lot of skills from preparing the competition. Even though my kid lose in the competition, I still teach my kid to say thank you to the piano teacher after the competition.
The effort made by the teacher should not be judged by the results only.