phrase → deserve If you say that someone got what they deserved, you mean that they deserved the bad thing that happened to them, and you have no sympathy for them. [feelings]
⇒ One of them said the two dead joy riders got what they deserved.
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers