Deuteronomy 29:26

and went and served other gods, and worshiped them, gods that they didn't know, and that he had not given to them:

Deuteronomy 28:64

Yahweh will scatter you among all peoples, from the one end of the earth even to the other end of the earth; and there you shall serve other gods, which you have not known, you nor your fathers, even wood and stone.

Judges 2:12-13

and they forsook Yahweh, the God of their fathers, who brought them out of the land of Egypt, and followed other gods, of the gods of the peoples who were around them, and bowed themselves down to them: and they provoked Yahweh to anger.

Judges 5:8

They chose new gods. Then war was in the gates. Was there a shield or spear seen among forty thousand in Israel?

2 Kings 17:7-18

It was so, because the children of Israel had sinned against Yahweh their God, who brought them up out of the land of Egypt from under the hand of Pharaoh king of Egypt, and had feared other gods,

2 Chronicles 36:12-17

and he did that which was evil in the sight of Yahweh his God; he didn't humble himself before Jeremiah the prophet [speaking] from the mouth of Yahweh.

Jeremiah 19:3-13

and say, Hear the word of Yahweh, kings of Judah, and inhabitants of Jerusalem: thus says Yahweh of Armies, the God of Israel, Behold, I will bring evil on this place, which whoever hears, his ears shall tingle.

Jeremiah 44:2-6

Thus says Yahweh of Armies, the God of Israel: You have seen all the evil that I have brought on Jerusalem, and on all the cities of Judah; and behold, this day they are a desolation, and no man dwells therein,

Treasury of Scripture Knowledge

Summary

For they went and served other gods, and worshipped them, gods whom they knew not, and whom he had not given unto them:

Gods whom

Bible References

They went

Judges 2:12
and they forsook Yahweh, the God of their fathers, who brought them out of the land of Egypt, and followed other gods, of the gods of the peoples who were around them, and bowed themselves down to them: and they provoked Yahweh to anger.
Judges 5:8
They chose new gods. Then war was in the gates. Was there a shield or spear seen among forty thousand in Israel?
2 Kings 17:7
It was so, because the children of Israel had sinned against Yahweh their God, who brought them up out of the land of Egypt from under the hand of Pharaoh king of Egypt, and had feared other gods,
2 Chronicles 36:12
and he did that which was evil in the sight of Yahweh his God; he didn't humble himself before Jeremiah the prophet [speaking] from the mouth of Yahweh.
Jeremiah 19:3
and say, Hear the word of Yahweh, kings of Judah, and inhabitants of Jerusalem: thus says Yahweh of Armies, the God of Israel, Behold, I will bring evil on this place, which whoever hears, his ears shall tingle.
Jeremiah 44:2
Thus says Yahweh of Armies, the God of Israel: You have seen all the evil that I have brought on Jerusalem, and on all the cities of Judah; and behold, this day they are a desolation, and no man dwells therein,

Gods whom

Deuteronomy 28:64
Yahweh will scatter you among all peoples, from the one end of the earth even to the other end of the earth; and there you shall serve other gods, which you have not known, you nor your fathers, even wood and stone.

General references

Jeremiah 22:9
Then they shall answer, Because they forsook the covenant of Yahweh their God, and worshiped other gods, and served them.
Lamentations 4:12
The kings of the earth didn't believe, neither all the inhabitants of the world, That the adversary and the enemy would enter into the gates of Jerusalem.
Ezekiel 20:48
All flesh shall see that I, Yahweh, have kindled it; it shall not be quenched.
Ezekiel 36:34
The land that was desolate shall be tilled, whereas it was a desolation in the sight of all who passed by.