After the Bai and Lian families left Xue Fanxin's side, they immediately entered the palace and handed over 90% of their family's wealth and power to the Ye royal family in exchange for the lives of everyone in their families.
The Emperor had obtained so much wealth and power from the Bai and Lian families and was in an extremely good mood. He also knew that the Bai and Lian families would no longer be able to resist the royal family. Coupled with the fact that he had given Xue Fanxin some face, after accepting the wealth and power, he did not exterminate the Bai and Lian families. He only raised a condition. From now on, the Bai and Lian families were not to step foot in the Imperial City again.
This outcome was much better than the Yi and Xue families. This was equivalent to spending money to avoid disaster.