have confidence in vs swear by

have confidence in

swear by

verb
  • To trust wholeheartedly. 

  • To invoke in an oath; to swear upon. 

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