The novel was called "The Imperial Teacher of a Generation Destroys the Country and the City." The main character was a teacher of the people who had been reborn into ancient times. However, in the process of teaching, he was entangled by the upper class. I hope you like this fairy's recommendation. Muah ~😗