Most of us work collectivly and live in densly populated communities, but we are put in a position of competition for jobs, housing, resources. Does this help drive bogotry and resentments?
Regular people also have no meaningful control over the economy. Does this lead some to scapegoat “undeserving freeloader” groups in society or “invading” outside groups for economic misfortune like feudal villiagers blaming witches for a bad harvest?
[Yes, there was bigotry in the past, but I don’t think modern bigotry is simply a holdover. First, specific forms of bigotry have changed a lot - witch hunts are no longer the persacution of women suspected of being literal witches. Second, many beliefs died out entirely: few people today care - and you’re not a social/legal outcast - if you were born out of wedlock, for example. So if the counter-argument is “bigotry is always around/humam nature” then the question is, why the specific forms of bigotry we see today rather than anti-bastard bigotry or anti-red head bigotry?]
Look at how it fairs against communism, socialism, or really any other economic model.
Capitalism fuels globalism, which increases acceptance amongst groups of people.