Sometimes difficult people are some of your greatest teachers. I am sure I complained at the time, but looking back, I realize they helped me grow. More than teaching you who you don’t want to be, difficult people give you a glimpse into the kind of person you aim to be. One of the greatest moments in life is when you encounter a person who challenges you, tests your patience, or irritates you, but you prevail. It feels good to walk away proud of how you handled things and grateful for the experience.
Don’t allow other people to take you out of your character. Unless your character sucks, then yea, fix that.