devalue vs do credit to

devalue

verb
  • To lose value; to depreciate. 

  • To lower or remove the value of something. 

do credit to

How often have the words devalue and do credit to occurred in a corpus of books? (source: Google Ngram Viewer )