It happened, when Joshua was by Jericho, that he lifted up his eyes and looked, and, behold, there stood a man over against 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?
and said unto him, [art] thou for us, or for our adversaries? by his appearing in this warlike posture, he concluded it was to take on one side or the other, either on the side of Israel, or of the Canaanites; and he seemed to suspect that it was on the side of the latter, and that he was one that was come to defy the armies of Israel, as Goliath afterwards did, 1 Samuel 17:8; and to engage in a single combat with Joshua their general, and so decide the war; in which, had this been the case, Joshua was ready to fight with him.