ally oneself with vs take to

ally oneself with

take to

verb
  • To enter; to go into or move towards. 

  • To adapt to; to learn, grasp or master. 

  • To be attracted to. 

  • To begin, as a new habit or practice. 

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