Joshua charged them with an oath at that time, saying, Cursed be the man before Yahweh, that rises up and builds this city Jericho: with the loss of his firstborn shall he lay the foundation of it, and with the loss of his youngest son shall he set up the gates of it.
This makes it the more monstrous that among the people of God a man should have been found, whom that fearful curse, couched in formal terms, could not restrain from sacrilegious temerity. In the time of Ahab (1 Kings 16:34) arose Hiel, a citizen of Bethel, who dared, as it were avowedly, to challenge God in this matter; but the Sacred History at the same time testifies, that the denunciation which God had pronounced by the mouth of Joshua did not fail of its effect; for Hiel founded the new Jericho in Abiram his first-born, and set up its gates in his younger son Segub, and thus learned in the destruction of his offspring what it is to attempt anything against the will and in opposition to the command of God. (68) 