to discourage sb. from doing sth.

Dictionnaire