Just before the Israelites crossed the Jordan, Joshua sent 2 spies to Jericho. They are concealed by a woman named Rahab and they agree to spare her family and her when Israel attacked Jericho.
Rahab receives and conceals the spies
When two men were sent by Joshua to Jerico to spy on it, they stayed with a woman named Rahab. The scriptures state that she was a prostitute. I figure the two men thought that it was the easiest way to avoid detection but this was not the case.
The king of Jericho was alerted to the spies presence and he sent messengers to Rahab asking her to hand them over but Rahab decided to hide the spies. She told the king that indeed the men had stayed with her but she did not know who they were. She said that they had left the city just before the gates had been closed and she had no idea where they had gone to.
The men that had been sent to her fell for her story and they went out of the city to pursue the spies. Rahab had, however, hidden the spies on her roof.
Rahab acknowledges the greatness of God
After the king’s messengers had left, Rahab motives were revealed. She said that they had heard of the sign, wonders and mighty works that God had done and she acknowledged that the LORD God is the only true God. She had picked the side she would be on in the coming war.
Paul would later write in Hebrews 11:31, “By faith Rahab the harlot did not perish along with those who were disobedient, after she had welcomed the spies in peace.” and James added in James 2:25, “In the same way, was not Rahab the harlot also justified by works when she received the messengers and sent them out by another way?”
The agreement between Rahab and the spies
In exchange for her helping them escape capture, they were to promise to spare her family and her. The spies on their part told her to tie a red thread to her window and when the Israelites attacked the city, anyone in the house would be spared.
After they had come to an agreement the spies left through her window and headed to the hills where they hid for three days before returning to where the Israelites had camped.
The spies return to Joshua and give him their report
When the spies came to Joshua, they reported that God had given Jericho to Israel and that the inhabitants were scared.