King James Version (KJV)
And he did that which was right in the sight of the LORD, but not with a perfect heart.
Modern English
And he did what was right in the eyes of the LORD, yet not with a whole heart.
Hebrew
וַ֠יַּ֡עַשׂ הַ֠יָּשָׁ֡ר בְּ֠עֵינֵ֡י יְהוָ֡ה רַ֠ק לֹ֠א בְּ֠לֵ֠בָ֡ב שָׁלֵֽם׃
vayaʿas hayashar bʿeyney yhvah raq loʾ blebab shalem