poetical justice
/pəʊˌɛtɪkl̩ ˈd͡ʒʌstɪs/noun
Graduate
1
The idea that in a literary work such as a poem, virtue should be rewarded and vice punished.
2
Synonym of poetic justice (“the fact of someone experiencing what they deserve for their actions, especially when this happens in an ironic manner”).