be happy vs give a hard time

be happy

give a hard time

How often have the words be happy and give a hard time occurred in a corpus of books? (source: Google Ngram Viewer )