All this took place because the Israelites had sinned against the LORD their God, who had brought them up out of Egypt from under the power of Pharaoh king of Egypt. They worshiped other gods
References for 2 Kings 17:7
and followed the practices of the nations the LORD had driven out before them, as well as the practices that the kings of Israel had introduced.
References for 2 Kings 17:8
The Israelites secretly did things against the LORD their God that were not right. From watchtower to fortified city they built themselves high places in all their towns.
References for 2 Kings 17:9
They set up sacred stones and Asherah poles on every high hill and under every spreading tree.
References for 2 Kings 17:10
At every high place they burned incense, as the nations whom the LORD had driven out before them had done. They did wicked things that aroused the LORD’s anger.
They worshiped idols, though the LORD had said, “You shall not do this.”
References for 2 Kings 17:12
The LORD warned Israel and Judah through all his prophets and seers: “Turn from your evil ways. Observe my commands and decrees, in accordance with the entire Law that I commanded your ancestors to obey and that I delivered to you through my servants the prophets.”
References for 2 Kings 17:13
But they would not listen and were as stiff-necked as their ancestors, who did not trust in the LORD their God.
References for 2 Kings 17:14
They rejected his decrees and the covenant he had made with their ancestors and the statutes he had warned them to keep. They followed worthless idols and themselves became worthless. They imitated the nations around them although the LORD had ordered them, “Do not do as they do.”
References for 2 Kings 17:15
They forsook all the commands of the LORD their God and made for themselves two idols cast in the shape of calves, and an Asherah pole. They bowed down to all the starry hosts, and they worshiped Baal.
References for 2 Kings 17:16
They sacrificed their sons and daughters in the fire. They practiced divination and sought omens and sold themselves to do evil in the eyes of the LORD, arousing his anger.
References for 2 Kings 17:17
So the LORD was very angry with Israel and removed them from his presence. Only the tribe of Judah was left,
References for 2 Kings 17:18
and even Judah did not keep the commands of the LORD their God. They followed the practices Israel had introduced.
References for 2 Kings 17:19
Therefore the LORD rejected all the people of Israel; he afflicted them and gave them into the hands of plunderers, until he thrust them from his presence.
References for 2 Kings 17:20