ally oneself with vs encourage

ally oneself with

encourage

verb
  • To mentally support; to motivate, give courage, hope or spirit. 

  • To spur on, strongly recommend. 

  • To foster, give help or patronage 

How often have the words ally oneself with and encourage occurred in a corpus of books? (source: Google Ngram Viewer )