Sometimes we can carry out activities in the classroom to let students talk about their own advantages and the advantages of others, so that students can feel more confident and will not be disappointed in themselves.
Many opportunities can be given to some students with average grades. Always giving students with good grades a chance will make them feel that teachers don't pay attention to them. Some students will think that the teacher is biased and let him know that he is not so obscure.
However, of course, different measures should be taken for different students, but the most important thing is communication. Sometimes, swearing will only make them more disappointed in themselves, but it is not just to "spoil" them blindly. In short, it should be moderate