Upon knowing the cruel consequences of canceling this marriage alliance, Yang Ning was left in distress.
If she decides to cancel the marriage alliance or not, the consequence will be her death.
However, after doing some calculations, she realized that going along with this marriage alliance would be much more beneficial than canceling it and being executed at the hands of the current Emperor.
Firstly, after marrying Zheng Liang, as Xiaowei said, she will get to leave the shitty Yang Household and will be free from the daily bickering and schemings of Chang Ah and Xiao Bai. More than that, she can leave the side of the controlling and manipulating, so-called father of hers.
Secondly, the main story of the novel starts after a year of their marriage, which means, she will have a year to turn around her fate and not make the mistakes that Yang Ning committed in the novel, by following Yang Luoyang's orders blindly.