In a broad sense it does.
Nationalism is a country looking after its own interests, regardless on the effects on others
Globalism is countries working together to solve problems that cannot be addressed by individual countries.
If you have your own marked definition for those terms then of course you might not agree