teach someone a lesson in German
teach someone a lesson in German
eine Lektion erteilen
(idiomatic, informal) To punish someone for a serious transgression they have committed so that they do not commit it again.