This chapter is a logical development of what Moses said in chapters 5 and 6. God had called on His people to acknowledge that He is the only true God and to be completely loyal to Him. In Canaan they would encounter temptations that might divert them from their fidelity (cf. 6:14). Now we have a full explanation of how the Israelites were to deal with these temptations. These instructions amplify the second commandment (5:8-10).
7:1-11 Moses mentioned seven nations that resided in Canaan here (v. 1), but as many as 10 appear in other passages (cf. Gen. 15:19-22; Exod. 34:11; Num. 13:28-29; Judg. 3:5). Perhaps Moses named seven here for rhetorical purposes seven being a number that indicates completion or fullness. One reason for the total extermination of these idolaters was the evil effect their corrupt worship would have on the Israelites and their relationship with Yahweh (v. 4).113They deserved to die for their sins (9:4-5) and for their persistent hatred of God (v. 10; cf. Gen. 9:25-26; 10:15-18; Exod. 23:23).
"Thus he is not speaking of those Canaanites who actually forsook their idols and followed the Lord [such as Rahab]."114
Israel was to be different from other nations (i.e., holy) because God had chosen to bless her (v. 6). Likewise Christians today should deal ruthlessly with sin in our lives (cf. 1 Cor. 5:6). Israel's election was not due to anything in Israel that merited God's favor, but only to the free choice of God to bless whom He would bless.
"Israel had a priestly tribe, the tribe of Levi, but the nation as a whole was also to be a priesthood. The historical function of a priest was to represent man to God. The tribe of Levi represented Israel before God; and the nation Israel was to represent the Gentile nations before God."115
God's promises to the Israelites' forefathers and His deliverance of Israel out of Egypt were demonstrations of the love that lay behind God's election. The motive of love comes through clearly. The reason for this love was not that its recipients were attractive but that its giver is loving.
7:12-26 Obedience would bring blessing. Moses enumerated the blessings for remaining completely devoted to God and refusing to practice idolatry (vv. 13-16). Grain, wine, and oil (v. 13) represent the three principle food products of Canaan.116The Israelites could obtain encouragement in battle by remembering God's past faithfulness (vv. 17-21). God told the Israelites He would drive out the Canaanites gradually (v. 22). He would not allow them to destroy the Canaanites totally until they had grown large enough numerically to care for the land adequately (cf. Exod. 23:27-33). This gradual extermination would be hard for the Israelites in that the temptations to idolatry would abound on every hand. Nevertheless it would be better for them than sudden annihilation of their enemies because in that case the land would become wild and unmanageable. The Israelites were not to take the gold and silver from the Canaanite idols (v. 25). The whole idol was under the ban (Heb. herem), and they were to destroy it and give the precious metals to God for His use.
Believers should not make defiling alliances with unbelievers who are pursuing lives of rebellion against God but should oppose their actions (cf. 2 Cor. 6:14-18).