give one's word to vs swear to

give one's word to

swear to

How often have the words give one's word to and swear to occurred in a corpus of books? (source: Google Ngram Viewer )