Language:
Free Online Dictionary|3Dict

惩前毖后

Source : CEDICT

lit. to punish those before to prevent those after (idiom); to criticize former mistakes firmly to prevent them happening again