demoralize

verb

Cause (someone) to lose confidence or hope.