Knock (someone) down to size

To make a person more humble.

The fact that the golfer lost the tournament helped to knock him down to size.