Then let them fight the Taliban to do so in their country...
Oh wait, America already paid and equipped them to do that once and what did they do?
Should people unwilling and/or unable to create a free or at least decent government have an entitlement to share other's country that has one, provided by overly charitable westerners, at the cost of the latter?
The big problem is that the vast majority of people who recognize such obligation consider it more or less unconditional when it comes to cultural assimilation of the people involved.
They are not stupid enough to want them.
Why exactly should one be a martyr? Should anyone who is the victim of oppression be told to be a martyr? For instance, were Poles in the 1980s supposed to be martyrs rather than to try and emigrate? Should present-day North Koreans try to be martyrs?
And Yeah, I have a problem with people who believe in having such obligations be unconditional. No assimilation = no entry, IMHO. And if we can't only get the assimilable Afghans, then we shouldn't be getting any Afghans at all. Europe, for instance, is notorious for getting a lot of bad Afghans:
I've Worked with Refugees for Decades. Europe's Afghan Crime Wave Is Mind-Boggling.
Afghans stand out among the refugees committing crimes in Austria and elsewhere. Why?
nationalinterest.org
I only want Afghans who are going to be as good as the Persians that we previously got.
As for other Muslim countries not wanting them, well, where else are they supposed to flee to? Should the interests of would-be migrants matter absolutely nothing in regards to this?