Deuteronomy 29:27
23 The whole land will be covered with brimstone, salt, and burning debris; it will not be planted nor will it sprout or produce grass. It will resemble the destruction of Sodom and Gomorrah, Admah and Zeboyim, which the Lord destroyed in his intense anger. 24 Then all the nations will ask, ‘Why has the Lord done all this to this land? What is this fierce, heated display of anger all about?’ 25 Then people will say, ‘Because they abandoned the covenant of the Lord, the God of their ancestors, which he made with them when he brought them out of the land of Egypt. 26 They went and served other gods and worshiped them, gods they did not know and that he did not permit them to worship.
1 Kings 9:8
7 then I will remove Israel from the land I have given them, I will abandon this temple I have consecrated with my presence, and Israel will be mocked and ridiculed among all the nations. 8 This temple will become a heap of ruins; everyone who passes by it will be shocked and will hiss out their scorn, saying, ‘Why did the Lord do this to this land and this temple?’ 9 Others will then answer, ‘Because they abandoned the Lord their God, who led their ancestors out of Egypt. They embraced other gods whom they worshiped and served. That is why the Lord has brought all this disaster down on them.’”
Notes and References
"... Deuteronomy 29:21-27 is Deuteronomist 2. The signs of this are: (1) In the preceding verses the subject is what would happen to an individual who would turn to foreign gods, but suddenly in v. 21 it is as if the entire people had been the subject. (2) The fate of the entire people in this section is to be cast into a different land. (3) The wording of verse 23-25 is nearly identical to 1 Kings 9:8-9, which is another section of the Deuteronomistic history that is identified as Dtr 2 on other grounds ..."
Friedman, Richard Elliott The Bible with Sources Revealed: A New View Into the Five Books of Moses (p. 356) Harper San Francisco, 2005