beat off vs deter

beat off

verb
  • To drive something away with blows or military force. 

  • To waste time. 

  • To masturbate, usually a man of himself. 

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 beat off and deter occurred in a corpus of books? (source: Google Ngram Viewer )