Tia, a modern programmer, transmigrates into a novel as a vicious witch fated to be executed by the male lead. To rewrite her tragic fate, she lives in seclusion deep in the forest and rescues the young prince Alaric, nursing him back to health and training him to grow stronger.
Years later, Alaric ascends the throne, and the two reconnect, developing romantic feelings for one another. Leila, the original novel’s heroine, conspires with the Demon King to impersonate Tia as part of her scheme. Alaric sees through the deception at once and leads his army to invade the Demon Realm.
When Tia is trapped inside an illusionary realm, Alaric breaks into her consciousness to shatter the chains of fate binding her. Working together, they seal away the Demon King. In the end, Tia is crowned queen, gives birth to twin children with Alaric, and they live out their days in peaceful companionship.