castoff vs erstwhile

castoff

adj
  • discarded, rejected. 

noun
  • Something that has been rejected or discarded; a reject. 

erstwhile

adj
  • Former, previous. 

  • Respected, honourable. 

How often have the words castoff and erstwhile occurred in a corpus of books? (source: Google Ngram Viewer )