Because the way we're going, there's going to be another world war long before people willingly succumb to a global state...
No need to be binary about the potential political changes. I only say that nation-states are bad, I din't say that states per se are bad.
Also, the next world war won't be before anything but the end of all of us. I didn't ever say anything about a global state, but what I think indeed is that, analogous to programming, state should be contained in the smallest possible context, that is, I think that smaller, more focused states with more direct democracy and with more (respective to today's nation-states) people that indeed share common values, would be more stable and peaceful. I know that such an idea will get many objections (even I do have my objections), but I believe such a political situation would be better for everyone.
Perhaps 20th century western nation-states won't get totally abolished soon, but they'll see a lot more competition from virtual states in the near future!
Unless by "education" you mean brainwashing, which is something totalitarian states excel at (horseshoe theory and all)
But there will always be racists who will dislike people for any petty reason