John Gill's Bible Commentary Ver. 6. And Joshua rent his clothes , etc.] As was usual in those ancient times, on hearing bad news, and as expressive of grief and trouble f102 ; (see Genesis 37:29,34 Job 1:20); and fell to the earth upon his face before the ark of the Lord, until the eventide ; in a posture of adoration and prayer, in which he continued till even; how long that was cannot be said, since the time is not mentioned when the army returned from Ai; very probably it was some time in the afternoon: this was done before the ark of the Lord, the symbol of the divine Presence, not in the most holy place, where that usually was, and into which Joshua might not enter, but in the tabernacle of the great court, over against where the ark was: he and the elders of Israel ; either the elders of the people in the several tribes, or rather the seventy elders, which were the sanhedrim or council, and which attended Joshua, and assisted him as such; and put dust upon their heads ; another rite or ceremony used in times of mourning and distress, and that very anciently, before Joshua’s time and after, (see Job 2:12 1 Samuel 4:12 2 Samuel 1:2); and among various nations; so when Achilles bewailed the death of Patroclus, he is represented by Homer taking with both his hands the black earth, and pouring it on his head; so Aristippus among the Athenians is said to sprinkle dust on his head in token of mourning on a certain account.
Matthew Henry Commentary
Verses 6-9 - Joshua's concern for the honour of God, more than even for the fate of Israel, was the language of the Spirit of adoption. He pleaded with God. He laments their defeat, as he feared it would reflect on God' wisdom and power, his goodness and faithfulness. We cannot at any tim urge a better plea than this, Lord, what wilt thou do for thy grea name? Let God be glorified in all, and then welcome his whole will.
Original Hebrew ויקרע7167 יהושׁע3091 שׂמלתיו8071 ויפל5307 על5921 פניו6440 ארצה776 לפני6440 ארון727 יהוה3068 עד5704 הערב6153 הוא1931 וזקני2205 ישׂראל3478 ויעלו5927 עפר6083 על5921 ראשׁם׃7218