1 Kings 11:9 in the King James Version
And the LORD was angry with Solomon, because his heart was turned from the LORD God of Israel, which had appeared unto him twice,
Context
8 So he did for all his foreign wives, who burned incense and sacrificed to their gods.
9 The LORD was angry with Solomon, because his heart was turned away from the LORD, the God of Israel, who had appeared to him twice,
10 and had commanded him concerning this thing, that he should not go after other gods; but he didn’t keep that which the LORD commanded.