Meaning of the word "just deserts" in English

What does "just deserts" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

just deserts

US /dɪˈzɜːrts/
UK /dɪˈzɜːts/

Idiom

a punishment or reward that someone deserves

Example:
After all his hard work, he finally got his just deserts.
The villain in the story always gets his just deserts in the end.