followed the customs of the people whom the Lord had driven out as his people advanced, and adopted customs introduced by the kings of Israel.