King James Version (KJV)
And the LORD was angry with Solomon, because his heart was turned from the LORD God of Israel, which had appeared unto him twice,
Modern English
Yahweh was angry with Solomon, because his heart was turned away from Yahweh, the God of Israel, who had appeared to him twice,
Hebrew
וַיִּתְאַנַּ֥ף יְהוָ֖ה בִּשְׁלֹמֹ֑ה כִּֽי־נָטָ֣ה לְבָב֗וֹ מֵעִ֤ם יְהוָה֙ אֱלֹהֵ֣י יִשְׂרָאֵ֔ל הַנִּרְאָ֥ה אֵלָ֖יו פַּעֲמָֽיִם׃
vayitʾanaf yhvah bishlomoh kiy-naṭah lbabvo meʿim yhvah ʾelohey yishraʾel hanirʾah ʾelayv paʿamayim