13 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?" 14 "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?"
Matthew Henry's Commentary on Joshua 5:13-14
Commentary on Joshua 5:13-15
(Read Joshua 5:13-15)
We read not of any appearance of God's glory to Joshua till now. There appeared to him one as a man to be noticed. This Man was the Son of God, the eternal Word. Joshua gave him Divine honours: he received them, which a created angel would not have done, and he is called Jehovah, Joshua 6:2. To Abraham he appeared as a traveller; to Joshua as a man of war. Christ will be to his people what their faith needs. Christ had his sword drawn, which encouraged Joshua to carry on the war with vigour. Christ's sword drawn in his hand, denotes how ready he is for the defence and salvation of his people. His sword turns every way. Joshua will know whether he is a friend or a foe. The cause between the Israelites and Canaanites, between Christ and Beelzebub, will not admit of any man's refusing to take one part or the other, as he may do in worldly contests. Joshua's inquiry shows an earnest desire to know the will of Christ, and a cheerful readiness and resolution to do it. All true Christians must fight under Christ's banner, and they will conquer by his presence and assistance.