小惩大诫

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

大

dà

big; large; great

诫

jiè

commandment