Take the starch out of (someone)

To make someone less arrogant, to make someone tired and weak.

The criticism by the teacher took the starch out of the girl who thought that she was the best in the class.