2 Kings 17:8

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.

Read 2 Kings 17:8 Using Other Translations

And walked in the statutes of the heathen, whom the LORD cast out from before the children of Israel, and of the kings of Israel, which they had made.
and walked in the customs of the nations whom the LORD drove out before the people of Israel, and in the customs that the kings of Israel had practiced.
They had followed the practices of the pagan nations the LORD had driven from the land ahead of them, as well as the practices the kings of Israel had introduced.

What does 2 Kings 17:8 mean?

John Gill's Exposition of the Bible
2 Kings 17:8

And walked in the statutes of the heathen, whom the Lord cast
out from before the children of Israel
Meaning the Canaanites, in whose idolatrous ways they walked, and whom they imitated; though their ejection out of the land should have been a warning to them, and they were the more inexcusable, as they were particularly cautioned against walking in them, ( Leviticus 18:3 )

and of the kings of Israel, which they had made;
their laws and statutes, to worship the golden calves, and not go up to Jerusalem to worship.

California - Do Not Sell My Personal Information  California - CCPA Notice