But the point is that it's so the population could overthrow a corrupt government, and you can't beat the biggest military in the world with handguns, the Vietnamese were just a fluke. Hence handguns should not be protected by the Second Amendment.
It depends on the type of battles being waged. If you remain underground, or in areas where visible fighting is limited to 10 meters or less, Handguns are more effective.
You could make this same arguments about every weapons. What it boils down to is not what weapons they have, but how hard they are willing to fight. The Russian Afghan conflict, Vietnam for the USA, a half dozen other conflicts were won not by superior or even equal weapons, but because the people said they wouldn't quit, ever.
A civil war in America is nearly impossible at this point, but the defense of self, freedom and liberty from any force, internal or external is still our right. That handgun may not be effective against a tank, but it works just fine versus a mugger. The AR series of weapons may not be the best hunting weapons, but they can be used against military aggressors, foreign or domestic. A shotgun has a dozen purposes, from home defense to hunting to military applications.
Regardless of their purpose, trying to say that any one type of firearm is no longer needed is against the meaning and purpose of the second Amendment.