I'm glad they got caught. That will 'teach them a lesson'! [=they will learn that they should not do that again]
We 'learned our lesson' the hard way. [=we learned from an unpleasant experience]
They studied the 'lessons' [='teachings'] of the great philosophers.
(..) Well done,James. Boo? -All right, gentlemen, I hope you've learned... -Right this way, everyone. ...a valuable lesson in scaring today. ( fearful whioper ) ( whines softly ) Boo. ( nervous grunt ) (..)2001 Monsters, Inc.
(..) You hear the winds of ch...?'' Oh, what a creep. One of these days, I am really... going to let you teach that guy a lesson. ( deep croaking ) ( liquid squishing ) Chalooby! Baby! MIKE: Good morning, Roz (..)2001 Monsters, Inc.