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.
(..) planned out. I get up in the morning... breakfast, math tutor, Latin tutor, lunch, tennis lessons, dance lessons... sometimes both... French tutor, piano lesson, then I eat dinner. And after dinner I spend time with my family. And then l... I catch up on some reading. (..)2004 The Notebook