Knock the wind out of someone’s sails.

This idiom or expression means:

Abruptly stopping someone.
Destroy their hope or their chances.

A. You look terrible! What happened?
B. She left me!! It’s just knocked the wind out of my sails. I don’t know what to do!