Indeed.

The second amendment is a long-obsolete prescription for arming and training the late-1700s citizen army of a weak collection of agrarian states.  It has almost no relevance in today's vastly larger, vastly stronger urban society with its professional military.

Along with the electoral college, the second amendment is proof that the Founders were human and could make mistakes.