be proud of oneself vs pat oneself on the back

be proud of oneself

pat oneself on the back

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