There is a lot of reasons why this problem can't be solved for good. One is that there will always be needs from people. The population keeps growing and growing. The resources keeps on dwindling down. Not to mention corruption. Will there be a time where we would all have to literally fight for resources?
Government is capable to solve any economy issues that is affecting their country without borrowing fund from any country to solve the economy issues. There are many infrastructure in the country, that will make the government to look into to start financing those infrastructure that will be bringing income to the government account to boost the economy, which is every country priority to see their economy growing higher. Country when things are not working well, government don't fold their hands and see their resources dwindling down in that country because they know what to do to revive the resources in a way it will not cause high inflation in the country. Corruption is the major problem that is making some government not to handle their economy very well, some leaders reason is the government property and there is nothing for them to benefit from the progress of the economy than to allow the economy continue going in a wrong direction in the country.