"Took down a peg" is an idiomatic expression that means to humble or deflate someone's ego or pride. Some synonyms for this phrase are "put in their place," "brought down a notch," "cut down to size," or "shown their true colors." Other similar expressions include "knocked them off their high horse," "brought back to reality," and "taught them a lesson." These phrases are often used to describe situations where someone's arrogance or self-importance is challenged or exposed, whether it's in personal relationships or professional contexts. Overall, these expressions reflect the importance of humility and self-awareness in our interactions with others.