China is a wise country and if you have a relationship with them as a country, they are ready to give you loan to help grow your country without much interest but what I noticed is that many country take the opportunity to keep borrowing money from them and mostly lavish the money without using it to grow there country.
China may have a bigger economy that the United States some day because even the United States depend on China for some certain raw materials to grow there assets. In the next 20 years China might become the world biggest economy so far.
It has been cited many times that China is not an investor, China is an enslaver of the economies of countries that dare to engage with it. The "best" example is China's investment in Sri Lanka, which ended up causing huge problems, mounting debts, and dashed hopes. And this is not the only example. You can very easily find documented information on what "partnering with China" leads to. All of China's investments are to absorb the economies of "friends" and generate huge debts for them....
It is true that china uses its economic power to get influence over a country but we can not blame only them for a countries financial instability. China didn't force any countries to take loan from them and they do something similar that the IMF and world bank do. They charge interest over their loan and if that country can not pay off their debt then they use it as a soft power to control that country's geopolitical decisions.
What happens with Sri Lanka is because of their corrupt government. Their loan was for a sea port that can not generate enough profit to pay off its debt. Corrupt government and politicians have done this and there can be chinease influence as well. But what I can see is china has a great contribution to many 3rd world countries infrastructure development like bridge, school, port, road and many others. They don't do it for free nor the western power. So it is the countries responsibility to use the money in the best way possible so that it can generate enough money to pay off the debt taken from china or other country or institutions.