True, often other lenders with even worse rates and terms show up first. It’s how entire countries become owned by a few foreign companies.
IMF loans primarily come with horrible terms: privatisation, deregulation and austerity. Same with EU funds. Poor countries have to choose between exploitation or aggression.