rub salt in the wound

Intermedio alto (B2) informal

Worsen someone's pain or embarrassment.

"Pointing out her mistake in front of the whole team was really rubbing salt in the wound."