give someone what for

verb
RareNot in standard dictionaries
1

To punish; to rebuke.

#slang