they observed the practices of the nations whom the LORD had driven out from before Israel, and followed the example of the kings of Israel.