Society can teach prejudice. Don't think so? Watch The Brown Eyes - Blue Eyes Racism experiment.
How do we make people not so suggestible to make stupid assumption or prone to follow orders? We encourage and teach our children critical thinking. -Precisely what the education system is not doing today.