When Joshua was near the town of Jericho, he looked up and saw a man standing in front of him with sword in hand. Joshua went up to him and demanded, “Are you friend or foe?”
“Neither one,” he replied. “I am the commander of the Lord’s army.”
At this, Joshua fell with his face to the ground in reverence. “I am at your command,” Joshua said. “What do you want your servant to do?”
Joshua 5:13-14 (NLT)