give what for vs let someone have it

give what for

verb
  • To scold; to punish, especially verbally. 

let someone have it

verb
  • To verbally assail someone. 

  • Used other than figuratively or idiomatically: see let, have, it. 

  • To attack someone with great force. 

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