I’ve had the opportunity to live in a lot of places that vary fairly greatly in culture. Regardless of culture, the majority defends itself.
At heart, we are all still tribal (you don’t overcome millions of years of evolution in a few centuries), and project good characteristics on those that look similar to us and bad ones on those that look different. FWIW, that isn’t an opinion, but highly supported sociological fact that is true regardless of cultural/racial origin.