idiom
take the wind out of someone’s sails
Meaning
To make someone lose confidence or enthusiasm.
Example
Her harsh criticism **took the wind out of his sails**.