They went and served other gods and bowed down to them, gods they had not known, gods he had not allotted to them.
Traditional numbering: 29:26
In context
23and all the nations will ask, “Why has Yahweh done this to this land? Why this great outburst of anger?” 24And people will say: “It is because they forsook the covenant of Yahweh, the God of their fathers, that he made with them when he brought them out of the land of Egypt. 25They went and served other gods and bowed down to them, gods they had not known, gods he had not allotted to them. 26So the anger of Yahweh burned against that land, bringing on it every curse written in this book. 27Yahweh uprooted them from their land in anger, fury, and great wrath, and cast them into another land, as it is today.”