Su Wanzhao, a vicious-tongued female gentleman from Jiangnan, was forced to enter the palace because she offended the powerful and became the female tutor of the third prince. She used her knowledge to resolve the traps of palace fighting (using "The Analects of Confucius" to reply to the queen, and using arithmetic to expose the concubine's poisonous schemes), and used embroidery to convey her feelings. She and the seemingly serious emperor Xiao Jingheng went from testing each other to running in both directions. The two worked together to put down the rebellion of the imperial concubine and overturn the old case of the imperial concubine. In the end, Su Wanzhao became the queen, rewriting the rules of the harem with the wisdom of a female teacher, and realizing the pure love that "fighting in the palace is not as good as going to class".