I think that's a pretty healthy reaction, pretty much all of human history took place in an environment where investing time an energy in thinking/caring about "the big picture"/"distant future" would drastically lower your chances of survival. Even today there's still plenty of people who have to worry about having something to eat tomorrow.
We're slowly getting comfortable enough about our immediate situation, leaving room to start thinking on a bigger scale. But I think it takes actual effort to say: "ok brain, I understand our immediate situation is important but I think we've got that covered enough to allow us to start caring about the less immediate problems we might face"
I'm a glass half full guy so maybe it's naive but I think we're actually doing pretty well. Climate change sucks and we're pretty slow to respond but you wouldn't expect a hunter/gatherer to be able to see the importance of fighting it. Our situation is different but the brain isn't all that different when it comes to prioritizing things to spend time/energy on. Obesity is a good example of what happens when you combine ancient instincts with modern situations.
Same thing probably goes for racism. We're advanced enough to know better and responsible for our actions but we're dealing with a brain has evolved mostly during times where trusting other tribes and survival of the fittest were Incompatible. Xenophobia had some evolutionary benefit and now we have to deal with it's existence in a vastly different situation.
Like I said, people should know better and have to be held responsible for their actions and we should never be comfortable with the slow rate of change.
Still I like to remind myself every now and then that its amazing how much progress has already been made changing things that evolution hasn't had time to value yet.
This turned out way longer than I expected but it's something I think about a lot. Hope you don't mind me using your comment to finally put some thoughts into words.