The admonition was against making and Worshiping images as gods.
He ordered the creation of the bronze serpent in the desert, but only had it destroyed after is Israelites began to worship it.
He ordered the creation of the images of the Angels on the Ark of the covenant.
If you want to interpret it that way, you'll have to say that the second amendment is about guns for militias too.