discourage

verb

Cause (someone) to lose confidence or enthusiasm.