be at vs give a hard time

be at

give a hard time

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