The end of Chapter 6 tells the story of how Rahab and her family were shown favor by God because she demonstrated faith, as she hid the spies from danger. In Chapter 7, we learn how the disobedience of one man, Achan, led to the death of his family, and the death of 36 men from the army fighting against Ai.