Sentence:  The accident was a good <WSD>lesson</WSD> to me. 
Meaning of the word marked with <WSD> tags:  Something that serves as a warning or encouragement.