give someone what for vs haul someone over the coals

give someone what for

verb
  • To punish; to rebuke. 

haul someone over the coals

verb
  • To express anger with someone in no uncertain terms when they do something wrong. 

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