Correct

引以为戒

/ yǐn yǐwéi jiè / 
Strokes

Example

Definition

learn lessons (from previous errors); take warning