From Longman Dictionary of Contemporary Englishtake the wind out of somebody’s sailstake the wind out of somebody’s sailsinformalCONFIDENT to make someone lose their confidence, especially by saying or doing something unexpected → wind
Examples from the Corpus
take the wind out of somebody’s sails• Last night's defeat has taken some of the wind out of the team's sails.