前車之鑒

Idiom

 * 1) previous experience of failure that serves as a lesson for oneself or others