Then Joshua made them take an oath at that time, saying, 'Cursed before the LORD is the man who rises up and builds this city Jericho; with [the loss of] his firstborn he shall lay its foundation, and with [the loss of] his youngest son he shall set up its gates.'