Find the word definition

Wiktionary
take the wind out of someone's sails

vb. (context idiomatic English) To discourage someone greatly; to cause someone to lose hope or the will to continue; to thwart someone.