After Jericho became part of Israel, Joshua's first military task was to secure a position in the hill country. Conquering Jericho boosted Israel's confidence and left the people of Canaan feeling discouraged and without hope. However, everything depended on Israel's obedience to God. The sin of one man and its consequences show the importance of the command to destroy Jericho (see “Complete Dedication” Theme Note).