Skydancer
Unfortunately, as well as conflict, the effects of global warming will mean many more people on the planet will migrate. There is no easy answer to any of it. However each country has a responsibility to its own citizens and there clearly is a limit to how many people each country can physically take. Wealthy countries should help the poorer ones to sort out problems at home as wealth is so unevenly distributed.
Climate change is a factor but parts of Africa are very fertile indeed and enough food could be grown and exported to neighbouring countries.
The problem is civil wars, fighting factions and just a few groups led by militant ps and terrorists who cause misery and mayhem for their own populations. The situation is dire for many, but starvation is preventable if there was peace.