Joshua 6:23: And the young men that were spies went in, and brought out Rahab, and her father, and her mother, and her brethren, and all that she had; and they brought out all her kindred, and left them without the camp of Israel.
Rahab had staked her life on her defense of the men of God. As a result, she had a place in God's covenant community. Even then, after she was saved from Jericho, Rahab and her family for a time were left "without the camp of Israel". They were required to remain there until meeting whatever requirements the leaders of Israel had for formal entrance into the covenant. Then she married well and became an ancestress of Jesus Christ (Matt 1:5). By faith she had become a member of the covenant people, by faith with works. As an unbeliever, her works had been prostitution. As a believer, she had risked her life for the people of God and had placed her entire trust on the truth of God's word. Her faith moved her from the people of Jericho to the people of God. Her unbelief had given her a unity of life in sin, i.e, a total dedication to sin; her faith gave her life in terms of God's covenant and united her to God's people. Community is an act of faith and communion within that faith.