be proud of vs pat oneself on the back for

be proud of

pat oneself on the back for

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