Just because more people in Vietnam died then American soldiers doesn't mean you won the war.
If that would be true then the Soviet Union lost world war II. They lost more men in the battle of Stalingrad alone then the USA/UK together during the WHOLE war.
USA lost because of so many reasons.