go to trouble vs take the time

go to trouble

take the time

verb
  • To volunteer to spend one's time (for a purpose or beneficiary). 

How often have the words go to trouble and take the time occurred in a corpus of books? (source: Google Ngram Viewer )