demoralizing

dɪˈmɒrəlʌɪzɪŋ

adjective

causing someone to lose confidence or hope; disheartening.

the demoralizing effect of imprisonment