Note the capitalization in the verse. Who can wield the sword of God? It is His sword, only He can bring it near. The verse is quite clear about the sword.
So verse 18 talks about a beast, then the next verse talks about something totally unrelated to a beast, but then verse 20 goes on talking about a beast again? If this was your point, I’m not sure how that all fits together.