Can’t handle my reactions

When people provoke me I shout back. I feel ashamed of the things I say when I get provoked.

For example a friend said several times how sorry she feels for us living in such a small flat as she just bought a house. I am not jealous as the value of her house is not even worth half our flat. She lives far away from literally everything in the middle of nowhere. So I Said I feel sorry for her having no friends, because no one lives there.

It’s so stupid to argue with friends. It’s just one example. I meditate and do yoga but when people just provoke me I snap back. Dienst mean I can’t handle criticism.