Read Joshua 5:15 Using Other Translations
And the captain of the LORD'S host said unto Joshua, Loose thy shoe from off thy foot; for the place whereon thou standest is holy. And Joshua did so.
And the commander of the LORD's army said to Joshua, "Take off your sandals from your feet, for the place where you are standing is holy." And Joshua did so.
The commander of the LORD ’s army replied, “Take off your sandals, for the place where you are standing is holy.” And Joshua did as he was told.