that'll teach (one) ((not) to do something)
That should serve as a lesson not to do something! Said when one receives some fitting punishment or negative outcome as a result of their actions. (The meaning is the same regardless or whether "not" is used.) My men are going round to rough the accountant up. That'll teach him to go talking to the police. A: "She's been sentenced to 10 years in prison for her involvement in the scam." B: "Good. That'll teach her." A: "Ouch! You hit me in the head!" B: "That'll teach you not to talk back to me!"
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.
that'll teach someone
Inf. What happened to someone is a suitable punishment! (The someone is usually a pronoun.) Bill: Tom, who has cheated on his taxes for years, finally got caught. Sue: That'll teach him. Bill: Gee, I got a ticket for speeding. Fred: That'll teach you!
See also: teach
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.