How to use "spoil" in a sentence

Sentences

He knew that if he told Cosette and Marius the truth, he would spoil everybody's happiness and he would lose their love and respect

The malicious tormentor wanted her to suffer mental anguish and spiritual pain; but he didn't want her to die, because that would spoil his fun.