afflict vs give a hard time

afflict

verb
  • To cause (someone) pain, suffering or distress. 

give a hard time

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