discourage

Definition

To deprive of confidence or hope; to try to prevent something by pointing out difficulties.

Example

"Don't let a few failures discourage you from pursuing your goals."