Since it is a punishment, it means that the teacher thinks that the students are at fault, and since they are at fault, they should be punished, but the way of punishment should be carefully considered. Students spend more time with their teachers at school than with their parents, and their behavior will affect their life.
Young and ignorant pupils are relatively pure, naive and fragile. It is very important for them to learn knowledge at school, but it is more important to protect their hearts and help them build a confident concept of life.