But did [that which was] evil in the
sight of the LORD, like unto the abominations of the heathen, whom the LORD
had cast out before the children of Israel.
BSB
And he did evil in the sight of the LORD by following the abominations of the nations that the LORD had driven out before the Israelites.
WEB
He did that which was evil in the sight of Yahweh, after the abominations of the nations whom Yahweh cast out before the children of Israel.
YLT
and he doth the evil thing in the eyes of Jehovah, like the abominations of the nations that Jehovah dispossessed from the presence of the sons of Israel,