A: Smith is always talking big. Smith.
B: He will get the wind taken out of his sails some day.
A: He should be given a lesson.
get the wind taken out of his sails
Get the wind taken out of one's sail的意思是：（言论或行动）让某人感到泄气，使某人失去自信。其英文释义为：make somebody suddenly less confident or angry, especially when you do or say something that they do not expect。
E.g. Sam told me he couldn't join my party.It has taken the wind out of my sails.
E.g. She thought she'd won, but when I told her the letter was a scam, it really took the wind out of her sails.
E.g. John was bragging about how much money he earned until he learned that most of us make more. That took the wind out of his sails.
E.g. He likes to talk big as though he was an important person.
E.g. We dislike those who talk big and do nothing.
give sb. a lesson：教训某人
E.g. You see! He didn't even give me food this morning again. I will give him a lesson.
E.g. If you keep on pissing my sister around, I'll give you a lesson.