What is an idiom? It’s a phrase that comes to mean something totally different from its literal meaning.
“Armed to the teeth,” means being overly prepared. In the 17th century pirates who wanted to make sure they never ran out of ammunition and held a gun in each hand to always be prepared.