befriend vs take up with

befriend

verb
  • To become a friend of, to make friends with. 

  • To favor. 

take up with

verb
  • To form a close relationship with (someone). 

  • To begin living together with; to lodge with. 

  • Used other than figuratively or idiomatically: see take, up, take up, with. 

  • To become interested in (something). 

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