Answer:
To prevent; to attempt to dissuade
Step-by-step explanation:
In the sentence "to discourage from doing something" the verb discourage means to prevent or try to prevent someone from doing something by making the action difficult or unpleasant, or by showing them that it would not be a good thing to do; caution against; advise against; etc. Example: A campaign to discourage people from smoking.