I think the Taliban was beat more by technology than anything else. Between Daisy Cutters, flying gunships, B52's, and soldiers equipped with extraordinary vision and communication equipment, the Medieval Afghanis fighting with 19th century equipment were far outclassed.
Although the Germans and the Japanese were a technological match for the Americans, they were trained with the mindset to die for their country. Patton and other great American military leaders trained our soldiers to think on their feet and make the other bastard die for his country.
This was all before we introduced women into combat roles. Today's women soldier has the benefit of advanced technology and the disproportionate numbers of men to women to tow the line. Lessen the technology and increase the proportion of women to men and we will definitely fall as the world's military power.
What they did have was unbelievable fighting spirit which author William Manchester, who was a Marine in the Pacific during the war, grudgingly admitted in his book about the Marines and his combat experiences in the Pacific war "Goodbye Darkness". He still hated the Japanese thirty years after the war for the way they fought, but he added, that in the end, fanaticism cannot be distinguished from heroism.
However in the end our superior strategy, technology, and firepower, (and unlimited quantities of the latter) plus exceptionally well-trained Marines, GIs, and sailors overcame the Japanese.

This is the technology Captain Luddy was refering to. All the other technology helps us achieve wars, but it all falls back to being prepared to prosecute warfare in the "classical" sense.