As an educated member of a developing country, I know that many so called "foreign investments" from the West are preceded (in fact, it is a requirenment) by huge loans from IMF and the World Bank.
This money is then wired to the investor, who is paid in 10s of thousands euroes for each employee. Every large state-backed loan eventually ends up in the pockets of western investors.
https://theintercept.com/2023/09/17/pakistan-ukraine-arms-im...
But has the US threatened countries if they don't vote with them at the UN, or seized their land and/or assets for non payment of debt?
https://apnews.com/article/united-nations-china-europe-ukrai...
Have they ever put countries into debt then stolen land based on that debt?
Your example btw was about raising arms for a third party conflict, not for something that directly benefits the US. Which weakens your argument.
https://davidgraeber.org/wp-content/uploads/debts-history-im...
The purpose of the IMF is not to help countries out of some kind of benevolence, it's to use debt as a control mechanism over other countries.