Cut (someone) down to size

To prove that someone is not as good as he or she thinks.

I cut my colleague down to size when I criticized what he said at the meeting.