poetic justice

justice, as in some plays, stories, etc., in which good is rewarded and evil punished, often in an especially fitting way

See poetic justice in American Heritage Dictionary 4

noun
The rewarding of virtue and the punishment of vice, often in an especially appropriate or ironic manner.

Learn more about poetic justice

link/cite print suggestion box