If you ask me, they deserve everything they get. There is no reason to reproduce if you cannot even properly provide for yourself. To me, the question is "where is the common sense and intelligence of the people living in these third world countries?"
The people living in third world countries are not doing very well. We know that and they know that. They've known it for hundreds of years. There are places in the world that are easier to live than the places they choose to call their home, places with more natural resources and better opportunities for the individual. Now why, if they know that they live in a shithole, don't they do something about it? Instead of standing around in the desert all day bitching about how theres no food, why don't they move somewhere that there is food? their ancestors have lived there for hundreds of years in the same poverty as them and their family. How come nobody in their society took some initiative and said "Hey, this place is a shithole, Lets live somewhere that we don't have to suffer."?
Look at developed society. In order for us to be where we are today, someone had to have taken some initiative and made a change to better. Examples would be: Migrating to an area with better food supply and more steady access to necessities, Setting up some sort of governing body, or choosing to plant these crops for money instead of those crops. the only thing that differs between developed society and third world countries is that somewhere along the side of developed society, people decided to start making things easier on themselves. Instead of living in places where theres no food, we move to new places and develop a new and/or better way to acquire food. Instead of living in the sticks and wearing clothes made out of grass, We developed more comfortable clothes and better homes so that we can live better. The developed half of society saw that there was a need for something, and acted on it to change things for their family to come. The poverty stricken half of society never did anything to help themselves. Their ancestors lived and starved in a shit hole, and because they didn't do anything to better their society, that's how it is going to be for their kids.
A solution for this is to not give a fuck. If they live like shit and don't do anything about it, that is their problem. It's not fair to the kids that they have to be born into poverty but what do their parents expect if, as stated before, they never did anything to help themselves.
The best thing we can do in my opinion is separate them from the rest of society. Do not let their way of life corrupt everyone else and dissolve our way of life that OUR ancestors worked so hard for. Do not let them benefit from the hard work of others. Make them realize that it is their way of life that causes them to be in those circumstances.