I'm not exactly a scholar on the Vietnam war, but I don't think it was about what Vietnam "represented". Communism had already been spreading with incredible ease, helped by the USSR's investments, and we were afraid of it spreading more, as it's a detriment to capitalism's global profit extraction scheme. There was a very real and very big risk to our bottom line with the whole communism fight. If Ukraine falls, Russia gets a whole bunch of agriculture exports, but other than that what do we lose? Sure it sets a bad precedent for global tensions and all, but the US isn't at risk of losing as much as we (thought) we would with the Vietnam fight.