gain confidence of vs prevent

gain confidence of

prevent

verb
  • To stop (an outcome); to keep from (doing something). 

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