quàn​shàn​chéng'è

encourage virtue and punish evil; poetic justice