I don't understand this claim. USA army occupied Afghanistan, organized corruption (oh sorry "privatization of public services") for years and paid masses of informants and mercenaries and still had to stop occupying Afghanistan. Just like France was kicked from Algeria over 50 years ago after countless massacres.
Not that i'm happy with the Taliban regime now that the USA are gone, but this wave of reaction is the logical aftermath of USA policy. Turns out not killing/oppressing millions of people and not destroying their public services could have a much better outcome in terms of "progressive politics".