Words: just deserts comeuppance comeupance poetic justice
Part of speech: n
Definition: an outcome (good or bad) that is well deserved and fitting