bring down a peg or two

bring somebody down a peg or two

to do something to show someone that they are not as good as they thought they were He's one of these super-confident types who really needs to be brought down a peg or two.
See also: bring, down, peg, two