It’s even worse than that. The IMF gets developing countries take out huge debts to banks. We give out the cash and the banks get the interest payments.
The IMF is crony-capitalism corruption on a world scale.
The IMF also gets the debtor country to sell off its assets to foreign "investors" in order to pay back the loan. This is a variation on the whole vouchers scam that went down in the former Soviet Union.