They lived according to the customs of the nations that the LORD had dispossessed before the Israelites and according to what the kings of Israel did.