12 They worshiped idols, though the LORD had said, “You shall not do this.”a

Read 2 Kings 17:12 Using Other Translations

For they served idols, whereof the LORD had said unto them, Ye shall not do this thing.
and they served idols, of which the LORD had said to them, "You shall not do this."
Yes, they worshiped idols, despite the LORD ’s specific and repeated warnings.