rub salt in the wound

Intermédiaire supérieur (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."