The city and everything is to be destroyed as an offering to the Lord. Only Rahab the prostitute and everyone in her house will be left alive. These people must not be killed because she helped the two spies.
The Lord GOD says, “By my life, I swear that this new king will die in Babylonia! Nebuchadnezzar made this man the new king of Judah, but he broke his promise with Nebuchadnezzar. This new king ignored that agreement.
Then Nebuchadnezzar made an agreement with a man from the king’s family. Nebuchadnezzar forced that man to make a promise. So this man promised to be loyal to Nebuchadnezzar. Nebuchadnezzar made this man the new king of Judah. Then he took all the powerful men away from Judah.
But the king protected Jonathan’s son, Mephibosheth. Jonathan was Saul’s son, and David had made a promise in the Lord’s name to Jonathan. So the king did not let them hurt Mephibosheth.
(The Gibeonites were not Israelites. They were a group of Amorites. The Israelites had promised not to hurt them, but Saul tried to kill the Gibeonites. He did this because of his strong feelings for the people of Israel and Judah.) King David called the Gibeonites together and talked to them.
So the two men went into the house and brought out Rahab, her father, mother, brothers, all her family, and all those who were with her. They put all the people in a safe place outside the camp of Israel.
The man showed the spies the secret way into the city. The men of Joseph used their swords to kill the people of Bethel. But they did not hurt the man who helped them or anyone in his family. The man and his family were allowed to go free.