An example of the evils of globalists of their time was the Tower of Babel.
God knows globalism does not allow people to search for God and find Him, globalism consumes their lives.
So when the people came together as one people, they had united in purpose and were all then under control of the 'socialist' totalitarian government and agenda of their time.
God came down to see what the people were doing, and said we, (the Godhead) must divide the globalists into the nations as their united purpose was contrary to God's will.
God established the nations for an express purpose, just as Acts 17 says
Therefore, the One whom you worship without knowing, Him I proclaim to you: 24 God, who made the world and everything in it, since He is Lord of heaven and earth, does not dwell in temples made with hands. 25 Nor is He worshiped with men’s hands, as though He needed anything, since He gives to all life, breath, and all things.
26 And He has made from one blood every nation of men to dwell on all the face of the earth, and has determined their preappointed times and the boundaries of their dwellings,
27 so that they should seek the Lord, in the hope that they might grope for Him and find Him, though He is not far from each one of us;
The globalism agenda is at odds with this, and is also one reason why Satan seeks to unite the world in rebellion against the plans of God.
Globalism is an evil thing, and nationalism was the good plan of God to enable people to seek and find Him.