get the better of vs give someone a hiding

get the better of

verb
  • To overwhelm or overcome 

  • To gain an advantage over. 

  • To trick or con. 

give someone a hiding

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