teach someone a lesson
idiomPart oflesson
teach someone a lesson — idiom
1. to punish someone for doing something wrong, so that they do not repeat it.
1.idiom
Definition
to punish someone for doing something wrong, so that they do not repeat it.
Example
The manager decided to dock Leo's pay to teach him a lesson about taking unauthorised days off.