If you are passed by for a job and your first reaction is that it’s because of what your successful competitor has in the pants, where they are from or what color they are, there’s something wrong with you. And it doesn’t matter whether you think “of course, she got hired. It’s all about hiring for diversity and affirmative action these days” or “of course, he was hired. Patriarchal imperialism and racism rule.” You are a dick either way. And it might be the reason you weren’t hired. Nobody wants a colleague who is a whiny, jealous idiot.