Islam teaches us not to take people's behavior personally. The way I treat others reflects my own heart & relationship with Allah ﷻjust as their behavior reflects theirs. My test is my response, patience, & sincerity, for I will answer to Allah ﷻ for my own actions, not theirs.
Fixing your deen isn't only just praying regularly and reading Quran more frequently, it's also fixing your character, the way you behave when you interact with people, the vocabulary you use, the people you surround yourself with. It's about correcting your Akhlaaq.