deter

verb
  1. to discourage or prevent someone from doing something by making them afraid of the consequences

Examples