The male lead having a happy ending was fine, he wasn't a scum just a misguided guy. His engagement to original Luxia was the typical loveless political one among elite people and he didn't know her identity as Miao Miao so when he thought that he found the girl that he truly liked after so long he broke things off. Also, original Luxia's wish was to protect him, not abuse him. He was quite decent actually.