Two wrongs don't make a right and all that, however you've hit the nail on the head. There are ists all over the world, whether racist, sexist or any other kind of ist. And some of it can be subconscious and/or hidden. For example people that only want their children to partner/marry within the same ethnic and/or religious group.
I'm also going to say something that's quite contentious. I'm the product of a white Scottish woman born in Scotland and a brown Indian man born in India. Am I as 'Scottish' as Hamish McHamish who is the product of a white woman and man born in Scotland and who can trace his family history back 500 years, all of them white Scottish.
Yes yes, we all come from somewhere different if you go back far enough in history, however I'd assert Hamish is more Scottish than me. Of course there's a side debate about 'what is it to be Scottish?' i.e. values etc, however based purely on genealogy, Hamish is surely more Scottish than me. No?