I guess it's always a nice thing knowing when to call off anything we are in....
Nothing is mandatory in life talk more of maintaining friendships, once it's not coming both sides, I don't think it's worth maintaining.
You did well for your mental health
One thing about pride is that it eats down your soul gradually and makes you lose thousands of nice things upfront