At that time Joshua invoked this curse: “May the curse of the LORD fall on anyone who tries to rebuild the town of Jericho. At the cost of his firstborn son, he will lay its foundation. At the cost of his youngest son, he will set up its gates.”