Its worse. The second amendment was legalising conscripted patrols on which white men of ever social class in southern states were made to go out in armed groups looking for escaped enslaved people to capture. (Source: https://www.npr.org/2021/06/02/1002107670/historian-uncovers-the-racist-roots-of-the-2nd-amendment )
Poor white men were forced into the standing army necessary to maintain a violent system of chattel slavery. Right wing people in the 70s liked the look of this amendment and breathed new life into it through a judicial fraud of falsified history.
Or at least, that's how former SCOTUS chief justice Warren Burger described it (source: https://www.snopes.com/fact-check/justice-burger-2nd-amendment-meme/ )