The militia part is a subordinate phrase, with the main thought being Congress shall not infringe upon the right of the people to bear arms.<quoted text> I posted 4 or 5 quotes made during the writing of the Constitution. I could have posted a hundred more. It is quite clear the people's right to bear arms was the subject of the day. Not a militia.
So I agree.