poetic justice

definition: an outcome in which virtue triumphs over vice (often ironically)
example:
speech part: noun
synonyms: just deserts

How poetic justice is being used?