give someone what for vs have someone's hide

give someone what for

verb
  • To punish; to rebuke. 

have someone's hide

verb
  • To punish or subdue someone. 

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