do away with vs eliminate

do away with

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

  • To have someone killed. 

eliminate

verb
  • To completely remove, get rid of, put an end to. 

  • To kill (a person or animal). 

  • To exclude (from investigation or from further competition). 

  • To record amounts in a consolidation statement to remove the effects of inter-company transactions. 

  • To excrete (waste products). 

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