During his reign, Hiel the Bethelite built Jericho. At the cost of Abiram his firstborn, he laid its foundation, and at the cost of Segub his youngest, he finished its gates, according to the word of the Lord which he had spoken through Joshua son of Nun.