Although no foes can willfully take away the land from Israel, if Israel fails to keep up its covenant relationship with Yhwh and, instead, serves other gods, Yhwh can take away the land. Making images will have that result (Deuteronomy 4.23-26), but the whole of Moses’ final sermon needs implementing in their lives if they are to live long in this land (Deuteronomy 5.31-33; 11.8-25). They may take over the cities, houses, and orchards in the land, but they must destroy its religious life (Deuteronomy 7.5; 12.2-3). They must pursue “sedeq,” do absolutely the right thing by Yhwh, if they are to possess the land (Deuteronomy 16.20). If Yhwh is to bless them in the land, they must not charge interest on loans to a fellow Israelite in need (Deuteronomy 23.19-20 [MT 20-21]). If they are to avoid bringing sin or guilt or punishment on the land (“hata,” hiphil), they must not allow a man to remarry his former wife (Deuteronomy 24.4). Putting Yhwh out of their minds and serving other gods in Yhwh’s place will mean forfeiting the land that is Yhwh’s gift (see, e.g., Deuteronomy 6.10-12; Joshua 23.15-16). Or, it will mean that they do not see the rain and, thus, the crops that the land is capable of, and they will die in the land (Deuteronomy 11.13-17). Or, they will share the fate of their predecessors and build houses but not live in them and plant vineyards but not enjoy their fruit (Deuteronomy 28.30; see Deuteronomy as a whole). Or, they will see the good and fruitful land turned into one devastated and burnt out, like Sodom and Gomorrah (Deuteronomy 29.23).
Yet, that will not be the end. If they turn to Yhwh when they have been cast off the land, Yhwh will restore them to possession of it (Deuteronomy 30.1-5). Precisely because the land remains Yhwh’s and Yhwh remains theirs, there can, again, be hope.
From: Old Testament Theology: Volume One: Israel’s Gospel by John Goldingay (Downers Grove: IVP Academic/Bletchley: Paternoster, 2003), p. 521.