thereby vs therefor

thereby

adv
  • By it; by that; by that means, or as a consequence of that. 

therefor

adv
  • For that; in return for that. 

  • Coordinate terms: herefor, wherefor 

How often have the words thereby and therefor occurred in a corpus of books? (source: Google Ngram Viewer )