Afghanistan was an unwinnable war. The people have no interest in Western-style government.
By Western-style government, what do you mean? If you mean they don't want "Western culture" I wouldn't say that was totally accurate, because before Taliban first took control of the country Afghanistan was a tolerant and to a certain degree liberal country. Same as Iran before the Islamic revolution.
That doesn't equate to Western culture per se, but they weren't subjecting women to covering every inch of their skin, refusing them jobs and treating them like slaves. If you're insinuating that's what the majority of Afghans want then you'd be wrong.