Although Shi Wan'er was the head wife, she was framed by her husband Ximen Hai's concubine Dong Lian in her previous life and was framed for having an affair, and was eventually drowned in a pond. After his death, the truth came to light, Shi Wan'er was innocent, and his concubine Dong Lian was sentenced to beheading for framing. Ximen Hai was unjustly accused and sentenced to exile through lynching, and eventually died in the exile.
In the Hall of Yama, King Yama learned of this and made a small plan to reverse the genders of Shi Waner and Ximen Hai when they were reincarnated as humans. Shi Waner was a boy and Ximen Hai was a girl. Their memories were preserved and they were cast into the modern age.
Finally, after experiencing ups and downs in modern times, Shi Wan'er and Ximen Hai finally realized that the two lives of struggle were due to the inequality between men and women! Just for the word "equality"!