the point is that the war was lost not because of actual combat but because of the afghan government not being able to sustain itself without us forces there. there are many cases from history where one side was superior in combat and won nearly every engagement but ended up failing to achieve their goal because because of political reasons.
United States