deter

dɪˈtəː

verb

discourage (someone) from doing something by instilling doubt or fear of the consequences.

only a health problem would deter him from seeking re-election

put off,discourage,dissuade,scare off,warn,caution,dishearten,demoralize,daunt,make worried/nervous/anxious,frighten,unnerve,intimidate