It's widely accepted that the US lost in Vietnam due not to military defeat, but from the clever Tet Offensive - where they successfully influenced US politics via US journalism, to cause them to simply cease fighting.
Whether they should have bothered in the first place though, given how corrupt and dysfunctional the regime in the south was, is an open moral question.