Globalization is a choice.
Globalization - the contemporary concept as we understand it in this thread[1] - didn't exist before technology that enabled modern transportation and information networks. Like any sort of geopolitical arrangement there are tradeoffs, and one of which with globalization is of course labor cost arbitrage (that other people have mentioned in the thread). A lot of ink can and has been spilled on what these tradeoffs are, and whether cheaper toothpaste or plastic disposable goods all made in China actually do make things better off long term - for the Chinese or for everyone else. The "resistance is futile" crowd seem to always index on the economic calculation (not saying you are doing this), and seem to always ignore that there are intangible, qualitative aspects to this political arrangement that not everyone - even or perhaps especially in the United States - is happy with.
[1] There's a pedantic argument about older "global" empire, religious or otherwise, but let's all sidestep that, shall we? It's not the same thing and I think we all know it.