Mass, uncontrolled immigration is not the solution to any countries problems.
The more countries there are that think this is a solution to anything, will only serve to increase this stupidity, that the UN is handling in typical UN fashion, NOT.
The only solution is for the UN to tell these shit hole countries, in no uncertain terms, that the advanced countries of the world will provide assistance to help correct the underling issues, which does NOT mean allowing them to export their problems.
And that does NOT mean handing over $billions to the obviously useless and corrupt governments of these countries, a la Mr. Dress Up and company.
An example would be, instead of writing checks to these backward countries, individual advanced countries would pay there own private industries to build infrastructure in the backward countries, and train their people to maintain them.
A much better solution for all involved, than handing over $billions to build mansions.