I don't see another solution to the situation that would have supported my self-confidence and self-esteem.
To support your sense of self, you need to make choices that show respect yourself. When we lose control of our emotions we are not showing respect for ourselves. We have to be more kind to ourselves than this. IMO