Joshua laid an oath on them at that time, saying, "Cursed before the Lord be the man who rises up and rebuilds this city, Jericho. "At the cost of his firstborn shall he lay its foundation, and at the cost of his youngest son shall he set up its gates."