How to use "spiteful" in a sentence

Sentences

Michael was behaving like a spiteful child

"Her husband would be engaged in nothing more than spiteful obstructionism