Chinese: 吃一堑，长一智。
English: A fall into a pit, a gain in your wit.