ally (oneself) with vs stand up for

ally (oneself) with

stand up for

verb
  • To speak or act in support or defense of (a person, a cause, a belief, or the like). 

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