Joshua said to Achan, My son, please give glory to Yahweh, the God of Israel, and make confession to him; and tell me now what you have done; don't hide it from me.
Chapters 1-7 form a unit of text: the Jericho siege narrative. Rahab and Achan open and close this section respectively forming its "bookends." Rahab was a female Canaanite prostitute; Achan was an Israelite man. Rahab hid the spies under her roof; Achan hid stolen loot under his tent. Rahab, her house, and her family were saved; Achan, his tent, and his family were destroyed. The writer was teaching theology by the way he constructed his narrative. [Note: J. Daniel Hays, "An Evangelical Approach to Old Testament Narrative Criticism," Bibliotheca Sacra 166:661 (January-March 2009):12.] 