There is a way to solve any problem in the best way, but avoid anger. In fact, your question is not as simple as forgiveness or not. If you lower your head too low, others will respect you less, and if you are too tough, it will be more contradictory.
Teachers are also a member of society, so it is necessary to deal with social relations, especially the relationship between teachers and students, which directly affects work and mood! There was once a case in which a primary school teacher resigned because he couldn't control his students.
No matter how rogue a student is, he likes to listen to good things and doesn't like to listen to bad things. As a teacher, he should not hate the world and students. As long as he has a tolerant attitude, you will be fine.
University is a place that needs to be conscious. If some people don't want to listen to the teacher's training, so be it. Sometimes, we really can't help teachers guide influence instead of forcing students.
Doing things is not clear in a few words.
Since you are a teacher, I talk too much, just like teaching others to cook. I suggest that besides being a teacher, you should learn more about the philosophy of dealing with people. Maybe you will be happier and more comfortable at work.
Broad-minded, knowledgeable, flexible, soft and hard, no one will disrespect you.
What I gave you was advice, not a method. Find your own books to learn.