Definitions of spoil
to make a voting paper invalid by completing it incorrectly, often deliberately as a form of protest
I am probably going to spoil my ballot paper.
to reduce or destroy the use or value of something, especially by damaging it
If the branches are sucked into the hose, it will spoil the machine.