Sentence:  I hope this accident taught you a <WSD>lesson</WSD>! 
Meaning of the word marked with <WSD> tags:  Something that serves as a warning or encouragement.