引以為戒

Idiom

 * 1) to take as a warning; to draw lessons from