Rahab believed in Israel’s God Yahweh, because she had heard how the Israelite's were brought out of Egypt, the miracles that Yahweh had performed till they reached Jericho, and in v9 she confesses her faith to the spies stating that - for The LORD your God is God in heaven above and in earth below. Her faith in our lord is so great that she took risk of her life to hide the spies, if found she and her family would have been killed by Jericho king, here be can observe that she took advantage of the salvation when preached that about life and death that is ahead of her by taking right decision at right time by saving herself and her family members and others, here we are reminded about another lady in the bible Samaritan women, when Jesus was at the Jacobs well he preached Gospel to her that is about living waters which if she drinks she will never be thirsty again, she believed and brought rest of her family to salvation,that is faith we want in our lives while believing the scriptures.