The modern Xue Qingyin accidentally traveled through time and became the female supporting character who met a tragic end in the ancient novel "The Only Favorite Princess". In order to change her destiny, she abandoned the male protagonist of the original book and approached the ruthless King Xuan He Junting in order to save her life. However, her coquettish overtures made He Junting misunderstand her feelings, and the two gradually became romantically involved as they got along. However, due to the competition for interests between the male protagonist of the original book and the vested interest groups in the palace, they constantly hindered Xue Qingyin from changing her destiny and destroyed her relationship with He Junting. Later, He Junting's life experience was exposed, and he faced the dilemma of revenge and protecting Xue Qingyin. The palace environment is full of hostility, and He Junting's life experience may be exposed at any time, so time is running out. Although Xue Qingyin relied on her wisdom to gain a foothold in the court, her initial plot against He Junting caused misunderstandings. In the end, He Junting succeeded in revenge and ascended to the throne of God. After the two went through twists and turns, they went from "each getting what they needed" to sincerely staying together, rewriting the tragic ending.