25But Joshua spared Rahab the prostitute, with her family and all who belonged to her, because she hid the men Joshua had sent as spies to Jericho—and she lives among the Israelites to this day.
26At that time Joshua pronounced this solemn oath: “Cursed before the LORD is the one who undertakes to rebuild this city, Jericho: “At the cost of his firstborn son he will lay its foundations; at the cost of his youngest he will set up its gates.”