And it came to pass 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, Art thou for us, or for our adversaries?