rub salt in the wound

Upper Intermediate (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."