be punished vs take one’s medicine

be punished

take one’s medicine

How often have the words be punished and take one’s medicine occurred in a corpus of books? (source: Google Ngram Viewer )