吃一堑,长一智

吃一塹,長一智
chīqiàn,zhǎngzhì
Fall into the moat and you'll be wiser next time (idiom); One only learns from one's mistakes.

CEDICT

Entry Composition