Prospects for such an outcome in Afghanistan actually look better now than they did in Iraq in early 2007. To begin with, unlike Iraq -- where success hinged on persuading a critical mass of the Sunni Arab community to accept the bitter reality of a Shiite-led government -- no deep existential issue drives Afghans (primarily Pashtuns) into the arms of the insurgents.
In fact, according to polls and other evidence, the overwhelming majority of Afghans, including Pashtuns, remain hostile to the Taliban's ideological agenda and unenthusiastic about a return to the medievalism that was inflicted on the country when it was last in power. The inroads the Taliban has made mainly reflect the failures and abuses of the Afghan government at the local level, not transcendent grievances about ethnic or sectarian divides.
For this reason, the national government in Afghanistan almost certainly retains greater legitimacy among the people than did the Iraqi government before things began to turn for the better there.
Secretary of Defense Robert M. Gates recently touched on this point. Despite the presidential election, he said, "the key is whether the Afghans believe that their government has legitimacy. And everything that I've seen in the intelligence and elsewhere indicates that remains the case."
This is not to say that a stolen presidential election is meaningless. But our main goal should be helping the Afghan government work at the local level -- providing the marginal but tangible improvements in security, governance and prosperity that ordinary Afghans say they want, and stopping the corruption and abuses they personally contend with and resent.
Ironically, the greatest effect of Afghanistan's botched election may be felt outside the country -- reinforcing doubts in the United States and Europe about whether a corrupt Afghan government really deserves our help. But this misses the point. We are in Afghanistan because its takeover by the Taliban would be catastrophic for American national interests. The Taliban seeks to achieve that goal by exploiting any gaps it can find between the government and the people. Our task is to see clearly the causes for these gaps and take the steps necessary to close them.
This is precisely what McChrystal spent upward of 60 pages explaining in his recent assessment. The counterinsurgency strategy he describes -- difficult and costly though it may be -- remains the best possible path to preventing the return of Afghanistan to a Taliban-dominated terrorist sanctuary.