Excuse, excuse, excuse. You control the whole air, claim to have the most advance weapon but you failed in a single thing.. Fail to win the heart of local. Acting like master while treating local like slave. You will never win war, US and allies come as invaders and not liberators.The US lost in Vietnam because the US military was shackled by restrictions imposed by politicians in Washington and idiotic Washington notions such as graduated escalation
One outcome of the graduated escalation doctrine was that US fighters were not permitted hot pursuit of North Vietnamese fighters fleeing into neighboring Cambodia or China.
Also, Vietnam ports, bridges and links to Cambodia and China were off limits to the US air strikes until very late in the war. North Vietnam was able to bring in much needed supplies and replace equipment lost in battle through unrestricted land and sea routes which were off limits to US forces.
There is an interesting story of a two USAF pilots under Lt. Gen. William W. Momyer defying orders and attacking a Soviet ship in frustration killing Soviet Navy sailors. At the time of the attack the ship was offloading war supplies in Haiphong Harbor in what was later described as the Turkestan incident. The CO Jacksel Markham "Jack" Broughton and his pilots were court-martialed for their troubles.
The story is not very different in Afghanistan and the 2011 Salala attack was the expression of the same frustration as the Vietnamese Turkestan incident in which many Pakistani soldiers were killed by USAF. In my mind the Salala incident = Turkestan incident.
You can call it hubris or ignorance or apathy but the people that call the shots in Washington are often more worried about their political careers then they are about letting the military do the job it was sent to do. So now here we are, we demolished the Taliban twenty years ago, most retreated into Pakistan and were reduced to IED's or suicide attacks - when they massed and faced NATO forces they died. They waited and waited for the US to realize Kabul was never going to be able to hold Afghanistan together no matter how much money Washington threw at the problem.
The US lost in Vietnam and now we lost in Afghanistan.