Joshua encountered a man with a drawn sword who identified himself as the commander of the Lord's army. When Joshua asked if he was for them or their enemies, the commander replied that he was neither, but had come as commander of the Lord's army. The commander instructed Joshua to remove his sandals as he was standing on holy ground. Joshua complied with the commander's instruction.