Deuteronomy 29:24–26
24 all the nations cwill say, d‘Why has the Lord done thus to this land? What caused the heat of this great anger?’ 25 Then people will say, ‘It is because they abandoned the covenant of the Lord, the God of their fathers, which he made with them when he brought them out of the land of Egypt, 26 and went and served other gods and worshiped them, gods whom they had not known and whom he had not allotted to them.
Jeremiah 22:8–9
8 “‘And many nations will pass by this city, and every man will say to his neighbor, i“Why has the Lord dealt thus with this great city?” 9 jAnd they will answer, “Because they have forsaken the covenant of the Lord their God and worshiped other gods and served them.”’”