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.
(..) Ripley's fault that his master was cruel and selfish. Like all dogs, Ripley only saw the good in people. Dogs are like that. People should take a lesson. - Is that enough? - Yeah. As much as any good dog... hey... could hope for. Even with limited (..)2008 TvShow: Bones Title: The Finger in the Nest Season: 4 Episode 3