There's a difference between political failures and military ones. Apples and oranges. No amount of military power can compensate for a lack of (or unachievable) political goals.
Korea, Vietnam, and Afghanistan all lacked coherent political goals. "Destroy military forces supported by half the country" is not a valid strategy.
Korea, Vietnam, and Afghanistan all lacked coherent political goals. "Destroy military forces supported by half the country" is not a valid strategy.