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.
(..) how she looks down on everyone. How she talks to me. To you! No respect! What are we? Slaves? So give me the go and I'll give her a lesson right now. Alright, I get it. Let me take care of it. Then take care of it. Fast. I'm gonna break something... He's painting? (..)2011 The Intouchables