be ashamed of vs take pride in

be ashamed of

take pride in

How often have the words be ashamed of and take pride in occurred in a corpus of books? (source: Google Ngram Viewer )