It’s kind of a rule, if you are saying “I don’t mean to be X” where X is rude, sexist, racist, etc. the words out of your mouth are going to be X, and you’re just saying that to make yourself feel better.