Shang Yueli, a top-tier thief from the 31st century, transmigrates into the body of the Luoyang Princess of the Daqing Dynasty, who shares her name. She finds herself in the role of the vicious ex-wife of Mu Yunsheng, the male lead of a novel she once read titled After Marrying the Sterile Bigshot, I Had Octuplets. In the original story, the princess colluded with her childhood crush, Lu Shiqing, to frame Mu Yunsheng for treason, leading to the exile of the Mu family. After Mu Yunsheng was assassinated and rendered sterile, the princess became pregnant but ultimately demanded a divorce and threatened to abort the child to spite the family. Three years later, the Mu family was exonerated, and Mu Yunsheng returned to the capital with the novel's female lead, Su Moli, to seek revenge. The original princess was killed on the night the family's name was cleared. Upon realizing her imminent fate, Shang Yueli decides to change the plot. She declares her intention to stay with Mu Yunsheng and face exile together, rejecting the divorce papers he had prepared. Mu Yunsheng, suspicious of her motives, agrees only to keep her close and monitor her, hoping she will not harm his child or family again.
Before the imperial guards arrive to confiscate the Mu family's assets, Shang Yueli uses her spatial ring, which she brought from her previous life, to steal the family's private treasury and the entire national treasury from the palace. She replaces the stolen goods with ordinary items and books. When the guards inspect the empty chests, they are baffled, while Shang Yueli conceals the wealth within her clothing and space. During the exile journey, the Mu family is divided into branches due to internal conflicts, with the second and third branches resentful of the main branch's suffering. Shang Yueli uses her knowledge and resources to help her family, treating illnesses with herbs and spirit spring water unlocked through a merit system. She cures Mu Shicai, the spoiled son of the third branch, earning merit points that upgrade her system and provide healing properties.
The group encounters a wolf pack during the journey. Shang Yueli and Mu Yunsheng work together to defend the prisoners, with Mu Yunsheng killing the alpha wolf. Shang Yueli also saves the escort officer, Gu Mang, from a wolf bite, further increasing her merit and securing the guards' goodwill. At a relay station in Yicheng, they encounter Su Moli, the novel's female lead, who is also in exile. Su Moli behaves arrogantly and causes a fire by throwing a lamp, forcing the Mu family to sleep in a cowshed. Shang Yueli protects Mu Yunsheng from the burning oil, deepening their bond. Despite the hardships, Shang Yueli remains determined to keep Mu Yunsheng away from Su Moli and ensure her own survival and prosperity. She navigates the treacherous political landscape and family dynamics, using her thief skills and system abilities to overcome obstacles. The story follows her efforts to alter the original tragic fate and build a new life with Mu Yunsheng, while dealing with the lingering threats from the past and the challenges of exile.