前車可鑒

Idiom

 * 1) previous experience of failure can serve as a lesson for oneself or others