The UN is forcing New Zealand to accept a certain number of refugees each year, but the UN makes almost no effort to help New Zealand build housing and provide security for the refugees. NZ may not have the resources to properly vet immigrants from hostile regions like Syria, to keep out violent ISIS type fanatics.
The UN could do a better job of doing background checks on those from regions where ISIS and such are popular. ISIS members were ordered to surrender, and start new ISIS chapters in other countries. There are thousands of ISIS members in Syrian camps that no one knows what to do with.
Egypt's experience with accepting fanatics for settlement in Egypt was that the fanatics started terror cells in Egypt that took vast police and military resources to deal with. Honest and peaceful immigrants can be an asset to countries, but a reliable way must be found to weed out anyone with criminal tendencies. The UN tends to recommend people without doing proper background checks.