confirm to vs give one's word to

confirm to

give one's word to

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