If someone is being unkind or petty or jealous or distant or weird, you don't have to take it in. You don't have to turn it into a big psychodrama about your worth. That behavior so often is not even about you. Don't own other people's crap.
I learned the hard way that I cannot always count on others to respect my feeling. Even if I respect theirs. Being a good person doesn't . As for others, you can only choose to accept them or walk away.