This is why we haven't won, and won't win, in Afghanistan. The entire region is factioned by tribes. What we need to do is set them fighting each other, withdraw, and let what happens, happen--until they start supporting those who attack us again.
Otherwise, we're going to wind up like Kipling's "Young British Soldier":
When you're wounded and left on Afghanistan's plains,
And the women come out to cut up what remains,
Jest roll to your rifle and blow out your brains
An' go to your Gawd like a soldier.