WEB
Joshua commanded them with an oath at that time, saying, “Cursed is the man before Yahweh, who rises up and builds this city Jericho. With the loss of his firstborn shall he lay its foundation, and with the loss of his youngest son shall he set up its gates.”
YLT
And Joshua adjureth them at that time, saying, ‘Cursed is the man before Jehovah who raiseth up and hath built this city, even Jericho; in his first-born he doth lay its foundation, and in his youngest he doth set up its doors;’