I don’t think that will ever happen.
Globalization is already well underway, our economies are entertwined, our technological advances, our medicine, knowledge, and even entertainment.
There is war, incompatible theologies, racism, hate, and all sorts of stuff that has the appearance of not being “united”. As long as humans exist those things will persist. We’re not robots, our flaws exist because of the nature of our biology.
I think it’s fair from at least this perspective to say we’re already united.
Once we get invaded by aliens and we have another species to be racist against.
I used to think The Watchmen approach would be an effective one as well, however these days I’m really wondering just how many politicians and corpos would sell out to warlord aliens if they could.
In order to prevent the nearing WWIII, the greatest mind alive, Ozymandias, puts together a plan for world peace in which he fakes an alien invasion. His idea being that with the threat of an extra-terrestrial invasion at hand humanity must unite as one to defeat a common enemy.
Somewhere around the time when there is three humans left on the planet, two of them will unite together to kill the third one. For a brief moment after the third one is dead the last two humans will be united in not knowing which one will attack the other one first.
I came here to write something along the lines of this.
And the last couple of humans will spend an awul lot of time reassuring each other that circumstances beyond their control forced them to react like they did and there was no way they could have done anything differently.
Let’s face it, while there were/are promising moments, we as a species are a failed experiment.
I don’t think that’s likely, we are apes not angels.
Sometimes we have conflicts, some are probably resolvable, some represent fundamentally opposed interests.
We can try to make society different, so there are fewer situations that lead to irresolvable conflicts. That project will never end.
Whether this gives you hope or grief is largely up to you.