2 Kings 17:12

12 they served idols, of which the Lord had said to them, "You shall not do this."

2 Kings 17:12 In-Context

10 they set up for themselves pillars and sacred poles on every high hill and under every green tree;
11 there they made offerings on all the high places, as the nations did whom the Lord carried away before them. They did wicked things, provoking the Lord to anger;
12 they served idols, of which the Lord had said to them, "You shall not do this."
13 Yet the Lord warned Israel and Judah by every prophet and every seer, saying, "Turn from your evil ways and keep my commandments and my statutes, in accordance with all the law that I commanded your ancestors and that I sent to you by my servants the prophets."
14 They would not listen but were stubborn, as their ancestors had been, who did not believe in the Lord their God.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.