The two wars are not even remotely comparable.
In Vietnam we overturned a democracy in favor of dictatorship. In Afghanistan we overturned a dictatorship in favor of democracy.
In Vietnam we were alone. In Afghanistan we have all of NATO behind us.
In Vietnam millions were killed. In Afghanistan tens of thousands (I think?) have been killed.
I could go on.