discouraging vs undermining

discouraging

noun
  • discouragement 

adj
  • that causes discouragement 

undermining

noun
  • The act or process by which something is undermined. 

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