Her story takes place after Moses died and when Joshua sent two spies to Jericho to spy out the Promised Land. When the spies arrived in Jericho, they went to Rahab's house and she was forthright about the state of her city. She told them she knew the Lord God had given Israel the land in which she lived and shared that her city upon hearing how the Lord had given them victory over the Egyptians and the two kings of the Amorites beyond the Jordan had become fearful. She also revealed what was in her own heart, "For the Lord your God, He is God in the heavens above and on the earth beneath." She had responded to what she had heard, by believing in Jehovah.
Someone saw the spies enter Rahab's place and reported it to the king of Jericho. He sent a band of men to her home to get them, but Rahab had taken the spies to the roof and hidden them under drying flax. She told the king's men the spies were not there and sent them on a wild goose chase. Once the band of men were gone, she went up to her roof and boldly asked the spies to deal with her with the same loving kindness she had shown them. She requested that they save her parents, her siblings and their families, and her when they came to take the city. They instructed her to remain silent about their visit, to bring everyone into her home for safety, and to hang a scarlet thread from her window. They promised that as long as she did as these things, they would be faithful to deal kindly with her and her family.
On the day of battle the doors of the city were shut tight. Instead of coming in with weapons blazing, the Israelites came in quietly and set up camp. Then every morning for six days the men of Israel rose up and marched silently around the city walls. On the seventh day, they arose and marched around the city seven times and then blew trumpets and shouted a warrior's cry. The city walls crumbled--all except for the part of the wall containing Rahab's home. During those seven days, Rahab waited patiently, standing firm in her faith. She waited when she heard the walls of her city crumbling all around her in what had to sound and feel like a holocaust. And, she waited until the Israelites came for her and her family.
Rahab was taken in by the Israelites. By faith and the mercy shown her, she was given a new start, which resulted in her becoming a wife to Salmon who was the founder of the city of Bethlehem and a mother to Boaz whose story is in the book of Ruth. We know Rahab was a changed woman as her husband was well respected by Israel and her son was a man of impeccable character who showed great kindness as we will see next week. Because of God's redemptions she was the grandmother to a king and was grafted into the lineage of the King of kings.