小惩大诫

xiǎo chéng dà jiè

lit. to punish a little to prevent a lot (idiom); to criticize former mistakes firmly to prevent large scale repetition

xiǎo

small

chéng

to punish

big; large; great

jiè

commandment