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.
(..) Don't be silly. Polish your shoes while I adjust the button on your pants. I don't want dancing lessons. It won't kill you to give it a try. At least try one lesson before you quit. Then you'll at least know what you're quitting. This has cost Rolf an arm and a leg. The least you can do (..)2015 Virgin Mountain