26 Then Joshua made this oath: "Anyone who tries to rebuild this city of Jericho will be cursed by the Lord. The one who lays the foundation of this city will lose his oldest son, and the one who sets up the gates will lose his youngest son."