The story takes place in the Song Dynasty. Song Wan'er is the legitimate princess, but her father, the emperor, shows her no affection because her mother died in childbirth. Her royal siblings bully and frame her, and she is eventually married off to Tang Moli, a top-scoring scholar who abuses her. She dies unjustly, and after death her resentment becomes so intense that she is reborn and embarks on a journey of revenge.