do away with vs weed out

do away with

verb
  • To abolish; to put an end to; to eliminate. 

  • To have someone killed. 

weed out

verb
  • to remove unwanted elements from a group 

How often have the words do away with and weed out occurred in a corpus of books? (source: Google Ngram Viewer )