discourage vs sanction

discourage

verb
  • To persuade somebody not to do (something). 

  • To extinguish the courage of; to dishearten; to depress the spirits of; to deprive of confidence; to deject. 

noun
  • Lack of courage 

sanction

verb
  • To ratify; to make valid. 

  • To penalize (a state etc.) with sanctions. 

  • To give official authorization or approval to; to countenance. 

noun
  • An approval, by an authority, generally one that makes something valid. 

  • A penalty, punishment, or some coercive measure, intended to ensure compliance; especially one adopted by several nations, or by an international body. 

  • A law, treaty, or contract, or a clause within a law, treaty, or contract, specifying any of the above. 

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