

Contributions to global organisations is what is known as “soft power” - for example, the only time NATO article 5 has been invoked is by the USA after 9/11
And guess what - every other country stood up and came to America’s defence. In the grand scheme of things, it’s a pretty good deal to spend a few million for the billions you get back in cooperative agreements with the rest of the world.
Honestly, if we’re taking the stance of "lets run the government like a business*,
It’s just good marketing.
It makes people in other countries that little bit more likely to buy something made in the USA, or to visit as tourists or to volunteer to help during a natural disaster.
The example you’re referring to isn’t even in the millions - it was around $70K! Ireland spent $163 Billion on Amercian services because of a good, long standing relationship between the two countries.