Guns are not designed to kill people

The constitution was ratified in 1787. Hand guns by Colt came in 1840. So how the hell did the 2nd amendment refer to handguns. That is absolute bull.