What about the Korean war? A military failure from 1950-1953.

As for Vietnam, United States involvement began as an attempt to quell a civil war and stop the spread of communism. An emphasis on stopping communism. If not for Russia's involvement against the US, the entire war may have gone differently.

I don't think World War 2 had any influence on Vietnam. If anything, it would have be the introduction of better technology.