If wealthy individuals in country Y gain X dollars per year from globalism and nonwealthy workers in country Y lose less than X, that's not a net moral benefit.
That's a moral catastrophe.
Poorer workers lose money they desperately need. Wealthy individuals gain more money for environmental destruction, legalized bribery, and status competitions. Increased money for the wealthy deserves negative moral weight.
Globalism is primarily a moral issue. The moral consequences of migration, rent seeking, cultural Marxism, military spying, industrial spying, legalized bribery, status competitions, environmental destruction, ethical cultures destroyed, institutions corrupted by hostile foreigners, and trade caused military conflicts are greater than the moral value of the money involved.