Kids who grow up in a diverse environment don't have that problem because they personally know other "tribes" and don't live by ignorant stereotypes. A lot of our instincts come from our past as "primates," but we've conquered a lot of them. We don't shit wherever we're standing and move on. We don't allow packs of males to mount a female who is ovulating. We severely punish those who take another life.
I don't think it's an insurmountable problem. Being aware and being educated is pretty much all that is needed. It is parents and communities that socialize the young. They absorb it like a sponge. So racism is a hard habit to break; it is passed down, whether spoken or unspoken, from one generation to the next. Some wise up and walk away from it. Too many haven't.
That is why diversity and inclusion is taught in schools.
As I recall OL, you were a schoolteacher. Did you teach diversity and inclusion? I didn't in elementary, middle or high school. Finally did take a couple classes in diversity, racial sensitivity and black history in the late 70s/early 80s in college. But as I recall those were electives.
But you're SO right about racism passed forward from one generation to the next. My Mom & Dad didn't do that to me - Not a racist bone in their bodies.
But my grandpa (Mom's side) in Georgia was a straight up racist. Some of the language that he used was downright shocking. Thankfully, he didn't influence me like my parents did.