dispense with vs get rid of

dispense with

verb
  • To eliminate or do without. 

get rid of

verb
  • to rid oneself of; dispose (of); to remove; to abolish; to lose 

How often have the words dispense with and get rid of occurred in a corpus of books? (source: Google Ngram Viewer )