The USA might be reasonable, not great mind you, at winning a war.
But they are completely rubbish at winning the peace, which is way more important unless you want to be involved in a war for well more than 2 decades.
The whole Afghanistan debacle goes back to a complete lack of any strategy beyond get Al Qaeda and depose the Taliban. Yeah, fine, but what next? Successive administrations have failed to even try to come to grips with how to answer this question. If you go back to before the Soviet invasion you see a country which was less fundamentalist and opening up to modernisation - the place has gone backwards for over 40 years. Not alone in that aspect either, you saw way less head coverings being worn by women in Malaysia in the 1970s, just as an example.
This is a mess, and it is a mess because no-one thought, or cared, about what happens after you depose the Taliban.
DS