The solution is rather simple.
The developing world needs good government, the type that guarantees certain liberties and property rights and fosters a free market. In that situation, free of coercion from bureaucrats and statists, corporatists, and theocrats; farmers and labourers are more likely to receive a fair price for their goods and services. Much like we, in the developed world, have come to expect.
Unfortunately, the reality is too often the opposite of that. These people have long been oppressed under big government: their ancient despots, European powers, and now corrupt local politicians. Big business, such as those monopolies set up by European powers and now foreign corporations from North America, Europe, or Asia continue the theme. They face accepting artificially low prices and wages or violence.
There is often no recourse: emergency services are inadequate and the courts are out of reach for many because of financial reasons.
In addition to good government in the developing world, they need free trade in the entire world. African farmers, for example, despite selling their produce for very low prices can not compete with European farmers, for example, because European farmers are so heavily subsidized. They’re protected by ‘public health standards’ and now ‘organic standards’.
You find that many social problems are solved by economic prosperity. Catholicism does help: it provides a foundation and tempers the materialism that comes with prosperity. But my experience living in the developing world is that even poor Christians will fall prey to social problems.