Question: what is the meaning of the phrase poetic justice?
Answer: Poetic justice is a literary device in which ultimately virtue is rewarded and viciousness is punished. In modern literature it is often accompanied by an ironic twist of fate related to the character's own action.