pin one's faith on vs swear by

pin one's faith on

swear by

verb
  • To trust wholeheartedly. 

  • To invoke in an oath; to swear upon. 

How often have the words pin one's faith on and swear by occurred in a corpus of books? (source: Google Ngram Viewer )