The phrase "knock you down a peg" has its roots in the 17th-century naval tradition. A "peg" referred to a rung or a step on a ship's ladder. To "knock someone down a peg" meant to remove them from a position of power or prestige, effectively lowering their status.