The phrase "just dessert" is often misspelled as "just dessert" due to confusion with the word "desert". The correct spelling of the phrase is "just deserts", with the second word pronounced with a short "e" sound (IPA: /dɪˈzɜrts/), not a long "e" sound as in the word "dessert" (IPA: /dɪˈzɜrt/). The phrase refers to receiving the appropriate consequences for one's actions, rather than a sweet treat like cake or ice cream.
The correct phrase is actually "just deserts" and not "just dessert". The term "just deserts" originated from the Middle English word "desert", which means "deserved reward or punishment". It has roots in the Old French word "deservir", meaning "to deserve". Over time, "desert" became "deserts" to reflect plural forms, and "just" is used to emphasize fairness or appropriateness. So, "just deserts" essentially means receiving the appropriate reward or consequence for one's actions.