Synonyms for Lesson (same or very similar meaning)
WordNet sense 1 (punishment intended as a warning to others):
example, deterrent example, object lesson
WordNet sense 2 (the significance of a story or event):
moral
From the ODE community, based on WordNet
add/edit