We can't save all or keep all happy atleast we choose few nations make them live good and rest of the world only will work for them.
What criteria are you going to use in choosing which country to help or not to help? Sometimes countries don't need external help because when international community help, they also take from you and causing independency and recolonization. What countries need to help themselves is within them if their leaders stop corruption and allow democracy to work.
Look now UK USA canada they not safe anymore people struggle.....crimes and poverty..... We just need to make few nations rich and most part just working for them so we can provide for UK USA canada people sercurity and good food and good life again without even people working in there like it use to be this will keep safe again those.
Who told you those countries are not safe? They might be having challenges of increasing population because of migrants and its effect but migrants are also helping to contribute positively to their economy. They are safe with cameras watching for criminal activities and they have adequate punishment for offenders.