Rahab was saved by God's amazing grace through faith in a covenant with the Israelites. She demonstrated her faith through obedience by hiding the Israelite spies and helping them escape, which allowed her to be delivered from destruction when the city of Jericho fell. Her salvation serves as an example that God saves people through grace, faith, and obedience to his covenants.