pull (someone) down a peg (or two)
To reduce or damage someone's ego or pride; to humble or humiliate someone. I'm really glad that pompous oaf lost his court case—maybe that will pull him down a peg or two. It's about time that someone pulled Sarah down a peg. Her snotty arrogance is intolerable!