mete out punishment to vs teach someone a lesson

mete out punishment to

teach someone a lesson

verb
  • To punish someone. 

How often have the words mete out punishment to and teach someone a lesson occurred in a corpus of books? (source: Google Ngram Viewer )