Joshua 5:13-15 New King James Version (NKJV)
The Commander of the Army of the Lord
13 And it came to pass, when Joshua was by Jericho, that he lifted his eyes and looked, and behold, a Man stood opposite him with His sword drawn in His hand. And Joshua went to Him and said to Him, “Are You for us or for our adversaries?”
14 So He said, “No, but as Commander of the army of the Lord I have now come.”
And Joshua fell on his face to the earth and worshiped, and said to Him, “What does my Lord say to His servant?”
15 Then the Commander of the Lord’s army said to Joshua, “Take your sandal off your foot, for the place where you stand is holy.” And Joshua did so.
Joshua 5:13-15 New International Version (NIV)
The Fall of Jericho
13 Now when Joshua was near Jericho, he looked up and saw a man standing in front of him with a drawn sword in his hand. Joshua went up to him and asked, “Are you for us or for our enemies?”
14 “Neither,” he replied, “but as commander of the army of the Lord I have now come.” Then Joshua fell facedown to the ground in reverence, and asked him, “What message does my Lord[a] have for his servant?”
15 The commander of the Lord’s army replied, “Take off your sandals, for the place where you are standing is holy.” And Joshua did so.