We are socially driven beings. We are shaped and affected by words our whole life, there is no magical turn off button just for specific situations where someone was mean to us. Sure, being emotionally mature helps dealing with those, but the ideal solution is to find healthy environments where you are respected, not to tough it out and pretend nothing affects you.