by chance vs thankfully

by chance

prep
  • Unexpectedly, accidentally; without foreplanning. 

  • Possibly; perhaps. 

thankfully

adv
  • In a thankful manner; giving thanks. 

  • fortunately, gratefully. 

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