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.
(..) I was in the neighborhood. Needed to see a friendly face. I took two buses and a cab to get in the neighborhood, but... So how'd it go? They said I needed acting lessons. A soap opera told me I needed acting lessons. Let me buy you a cheeseburger. The sky's the limit, up to $.. (..)2002 Spider-Man