advise/urge not to vs deter

advise/urge not to

deter

verb
  • To prevent something from happening. 

  • To persuade someone not to do something; to discourage. 

  • To distract someone from something. 

How often have the words advise/urge not to and deter occurred in a corpus of books? (source: Google Ngram Viewer )