deprecate vs pat oneself on the back

deprecate

verb
  • To declare something obsolescent; to recommend against a function, technique, command, etc. that still works but has been replaced. 

  • To belittle or express disapproval of. 

pat oneself on the back

How often have the words deprecate and pat oneself on the back occurred in a corpus of books? (source: Google Ngram Viewer )