thereby vs therefore

thereby

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

therefore

adv
  • Consequently, by or in consequence of that or this cause; referring to something previously stated. 

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