2 He did evil in the eyes of the LORD, but not like the kings of Israel who preceded him.

Read 2 Kings 17:2 Using Other Translations

And he did that which was evil in the sight of the LORD, but not as the kings of Israel that were before him.
And he did what was evil in the sight of the LORD, yet not as the kings of Israel who were before him.
He did what was evil in the LORD ’s sight, but not to the same extent as the kings of Israel who ruled before him.