poetic justice

noun
1
a situation in which something bad happens to somebody, and you think that this is what they deserve
عدالت شاعرانه, فرجام شایسته, پاداش یا جزای مناسب, جزای عمل