that'll teach

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!"
See also: teach

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
References in classic literature ?
something else, I hope, that'll teach those murderers a lesson," he added, shaking his fist towards the placard.
Well done lady, that'll teach her not to assume old people are easy targets.
Well that'll teach us to defy the money men, won't it ?
That'll teach Si to give his mobile number out so freely.
Stephen Morris THAT'LL teach you to forget the sat nav.
That'll teach me for wearing stiletto heels on a cobbled street.
In September, Shed bought Twenty Twenty, the company behind Bad Lads Army and That'll Teach 'Em, and snapped up global distribution firm Screentime in 2006.
That'll teach them to wear skimpy swim suits and snag the best seats poolside
That'll teach you to come around here looking for trouble
Maybe that'll teach companies like Quaker Oats not to plaster exaggerated claims about heart disease on their labels before the science is more certain.
That'll teach them to knock us out of the Euros at the group stage.
That'll teach me to watch BBC coverage of a World Cup match just before going to bed.
That'll teach them for daring to mix with middle class folk who make lemon drizzle cake and dandelion wine.
Poverty, near starvation and the loss of their homes - that'll teach them for standing up to a victim.
As a teenager he appeared on reality TV show That'll Teach 'Em when a group of pupils experienced education 1950s style.