6:26 And Joshua adjured [them] at that time, saying, Cursed [be] the man before the LORD, that riseth up and buildeth this city Jericho: {q} he shall lay the foundation thereof in his firstborn, and in his youngest [son] shall he set up the gates of it.
(q) He will build it to the destruction of all his stock, which was fulfilled in Hiel of Beth-el, 1Ki 16:34.
6:26 Adjured them - Or, made them to fear; caused the people, or some in the name of all, to swear for the present and succeeding generations, and to confirm their oath by a curse. Before the Lord - That is, from God's presence, and by his sentence, as they are said to cast lots before the Lord, Josh 18:8,10, that is, expecting the design from God. He intimates, that he doth not utter this upon a particular dislike of that place, but by divine inspiration. God would have the ruins of this city remain as a standing monument of God's justice against this wicked and idolatrous people, and of his almighty power in destroying so great and strong a city by such contemptible means. Buildeth - That is, that shall attempt to build it. So this curse is restrained to the builder, but no way belongs to those who should inhabit it after it was built, as is evident from 2Kings 4:18 Luke 19:1,5. In his youngest son - That is, he shall lose all his children in the work, the first at the beginning, others in the progress of it by degrees, and the youngest in the close of it, when the gates use to be set up. This was fulfilled, 1Kings 16:34.
6:17-27 Jericho was to be a solemn and awful sacrifice to the justice of God, upon those who had filled up the measure of their sins. So He appoints, from whom, as creatures, they received their lives, and to whom, as sinners, they had forfeited them. Rahab perished not with them that believed not, Heb 11:31. All her kindred were saved with her; thus faith in Christ brings salvation to the house, Ac 14:31. She, and they with her, were plucked as brands from the burning. With Rahab, or with the men of Jericho; our portion must be assigned, as we posses or disregard the sign of salvation; even faith in Christ, which worketh by love. Let us remember what depends upon our choice, and let us choose accordingly. God shows the weight of a Divine curse; where it rests there is no getting from under it; for it brings ruin without remedy.