Of course you’re right, Sauron, but there’s more: the right of the government to conscript people in defense of the state is ancient and universal. Besides military service, the common law right of posse comitatus allows the local sheriff to conscript residents to deal with insurrection, natural disasters, etc. I believe it to be correct that there has been conscription by the national and/or state governments in every US conflict up to Vietnam
You’d have to drop Korea from your list for purely legal reasons (Congress never formally declared war there), and I’d make the case that everything after 1900 was at least morally questionable simply because there was really no “national defense” involved in any of those military campaigns.
The duty of all men capable of bearing arms to come to the defense of the nation was long part of common law.
It would be interesting to have a court case as to the constitutionality of sending conscripts out to fight in a conflict that is NOT obviously necessary for the defense of the US.