Joshua spoke to the two men who had scouted out the land. "Go to the prostitute's house. Bring out the woman from there, along with everyone related to her, exactly as you pledged to her."
References for Joshua 6:22
So the young men who had been spies went and brought Rahab out, along with her father, her mother, her brothers, and everyone related to her. They brought her whole clan out and let them stay outside Israel's camp.
They burned the city and everything in it. But they put the silver and gold, along with the bronze and iron equipment, into the treasury of the LORD's house.
Joshua let Rahab the prostitute live, her family, and everyone related to her. So her family still lives among Israel today, because she hid the spies whom Joshua had sent to scout out Jericho.
At that time Joshua made this decree: "Anyone who starts to rebuild this city of Jericho will be cursed before the LORD. Laying its foundations will cost them their oldest child. Setting up its gates will cost them their youngest child."
The LORD was with Joshua. News about him spread throughout the land.