Take The Wind out of Someone’s Sails

What does the idiom “Take The Wind out of Someone’s Sails” mean?

Definition:

To reduce someone’s confidence, ofte by doing something unexpected

For example:

“When my teacher criticized my speech, that really took the wind out of my sails.”

Reply