rubbing salt in the wound
Idiomatic expression used when someone makes a painful situation even worse, often by reminding the person of their failure or misfortune.
Telling a friend who just had a breakup about his ex-girlfriend's marriage is like rubbing salt in the wound.
A metaphorical phrase derived from the literal pain of putting salt on a wound, used figuratively to mean making a bad situation worse.