In his days Hi'el of Bethel built Jericho; he laid its foundation at the cost of Abi'ram his first-born, and set up its gates at the cost of his youngest son Segub, according to the word of the LORD, which he spoke by Joshua the son of Nun.