The primary consideration of helping people in need is not necessarily to reduce the number of welfare recipients, but to meet their immediate needs on ethical grounds.
Some of them might need this on a temporary basis, some might never be able to provide for themselves, and some are right in the middle where a separate kind of support (for example sponsored re-training) would enable them to transition into independence eventually. It's a complex spectrum.
There is a simplistic "fuck them" attitude coming into vogue again right now which I think is fundamentally unethical and, if implemented, threatens to deepen existing problems.
> But let's send a few trillion more to Africa! This time it will be different
It depends a lot on what is being done with that money. Traditionally, large-scale aid is actually flowing back to first world contractors tasked with construction projects that are of little use to the people they're supposedly for. Big sums are also lost to corruption on all levels. The average citizen of a poor nation will never see a single dollar of that aid money, and it's not going into the local economy either.
The typical poor African nation has problems on all levels: cultural, educational, infrastructure-related - everything is broken. It's difficult to find the correct modality that alleviates these issues across the board. Addressing just one of these at a time is essentially futile, because problems in the other areas will prevent help projects from yielding sustainable results.