Once again, a strong exhortation follows to do what is right in God's eyes. Moses's earlier words resonates here: You are to fear the Lord your God by keeping his statutes and commandments
(Deuteronomy 6:2a). If they will live reverently before God in the promised and oh-so-good land (Deuteronomy 6:10f), they will prosper there. Yet, their ability to take possession of the good land is not thanks to their observance of God's commandments. A little later in Moses' lengthy speech, the warning sounds not to reason: Based on our righteousness we have certainly earned it that the Lord has brought us here to give us this land to possess. No, it is on account of the wickedness of those nations that he is driving them out before you
(Deuteronomy 9:4). One day, the measure of the Canaanites' sins will be full, and Almighty God will bring his punishment. Israel may be an instrument in God's hand for this, but they need to remember that in all this, God's promises to their ancestors will be fulfilled. It is simply a matter of consistently adhering to God's laws and precepts in all their actions. Those who live this way with reverence for God will prosper in the Promised Land. And one day, for everyone who has shown fear for the Lord in their lives, this will be gloriously revealed in the new heaven and new earth (Revelation 21:1–27 and Revelation 22:1–21; cf. Psalm 23:6).
18 And you shall do what is right and good in the sight of the LORD, that it may go well with you, and that you may go in and take possession of the good land that the LORD swore to give to your fathers