TBH I think this is more of a conditioning thing. Like, very young toddlers (up to like, 5-6 years old) literally cannot understand racism. This is actually lampshaded in Wolfenstein II, when BJ just talks to a black girl and tells her about all the shit his father says about her race but he straight up says he doesn't understand his reasons at all.
Again, I do not think people are evil by default. Hate is something that is taught, not inherent.