@georgiana The role of a parent of teenager is to raise good adults. Which, to me, means teaching them how to fix mistakes, not expect them not to make mistakes. You are not failing if your kid screws up, you are failing if you don't help them fix it.
Your kid said something stupid and hurtful...