Definitions of poetic justice:

  • noun:   an outcome in which virtue triumphs over vice (often ironically)