give someone what for vs give what for

give someone what for

verb
  • To punish; to rebuke. 

give what for

verb
  • To scold; to punish, especially verbally. 

How often have the words give someone what for and give what for occurred in a corpus of books? (source: Google Ngram Viewer )