Accepting abuse from people who don't appreciate you isn't a test of your character. If you're in a situation that isn't bringing out the best in you, let it go.
While the old ways of thinking suggested that endurance was a virtue, it really isn't!
The wisdom of experience, however, will teach you that acceptance is virtue. Be courageous enough to accept when a friendship, relationship or commitment, of whatever nature, is no longer fulfilling you or its purpose. It happens.
Ours is to learn to write new chapters with the spirit of what we have learnt, not to hold on to the old if it's toxic.