Dude, what you smoking?
US failed to reboot political landscape of Afghanistan, but this is due to a large number of Afghans not being onboard (Taliban). Nation-building experiments will not necessarily bear fruit. Other then this, US thrashed and humiliated Afghans for many years and made a complete mockery of sovereignity of Pakistan along the way. Why I mention this? Because US has set a dangerous precedent for other countries in this way.
Both Iran and India thought that they could violate sovereignity of Pakistan under the garb of chasing terrorists much like US, but both forgot that they stand no chance in this game. Pakistan immediately drew a line with both (with PAF shooting down their airborne assets), and pushed both US and Taliban to commence negotiations which are happening since. Pakistani armed forces are battlehardened by 17 years of warfare but political endgame for Afghanistan is a must because this war has ruined our economy.
Anyhow, if you think that US have not won its wars, then you need to study history once again. Their is no shame in admitting that American armed forces are the finest in the world, and US have reshaped political landscapes of many regions around the world over time, but new set of challenges continue to surface over time.
And lastly, study both Surah al-Isra and Surah-ar-Rum.