dispirit

verb

Cause (someone) to lose enthusiasm or hope.