Pleas help!!!

The United States lost around 58,000 soldiers during the Vietnam War and nearly a million Vietnamese were killed. Why do you think with such devastating losses on the Vietnamese side the United States still lost the war?