7 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 8 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. 9 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. 10 They set up sacred stones and Asherah poles on every high hill and under every spreading tree. 11 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. 12 They worshiped idols, though the Lord had said, "You shall not do this." 13 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." 14 But they would not listen and were as stiff-necked as their ancestors, who did not trust in the Lord their God. 15 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." 16 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. 17 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. 18 So the Lord was very angry with Israel and removed them from his presence. Only the tribe of Judah was left, 19 and even Judah did not keep the commands of the Lord their God. They followed the practices Israel had introduced. 20 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. 21 When he tore Israel away from the house of David, they made Jeroboam son of Nebat their king. Jeroboam enticed Israel away from following the Lord and caused them to commit a great sin. 22 The Israelites persisted in all the sins of Jeroboam and did not turn away from them 23 until the Lord removed them from his presence, as he had warned through all his servants the prophets. So the people of Israel were taken from their homeland into exile in Assyria, and they are still there.
17:12 Exodus 20:4,5