Like I said, the Constitution was written in a time when all firearms were single shot weapons and slave revolts needed to be quelled by militias.
When it was written there was nearly as much military power in the hands of the public as there was in the governments control and this was considered a good thing.
George Washington barely stopped a clause from being included that would have capped the size of the Army at a certain number, a number too small presumably to oppress the people. George Washington made the point that there was not going to be a constitutional limit on the size of invasion forces and got this clause laughed out.
But no one even suggested a limit on private ownership of weapons, they had just thrown that faction back to England.
We are pretty lucky to have the well behaved military we do , our Constitution writers did not know how few mutinies and coups there were going to be .
I wonder if having an armed population has helped us avoid having a coup every two or three decades? There are nations that do , and they are not a different sort of human there.