Joshua recounts the history of the conquest of Canaan. Joshua leads the second generation of Israelites into the promised land. The book has a number of familiar accountsâ€”Rahab and the spies, the battle of Jericho, sin in the camp and the death of Achan. The book tells of the deception by the Gibeonites and how they remained in the land. Joshua tells of the battle with ten kings at Gibeon and the sun standing still to give Joshua the victory. The book also recounts the dividing of the land, the renewal of the covenant, and the death of Joshua. The book of Joshua is about God glorifying himself through bringing judgment on the idolatrous nations of Canaan and faithfully fulfilling his promises to Israel. God is especially revealed as the God who fights for his people and brings them rest.