Kings III 11:9

9 And the Lord was angry with Solomon, because he turned away his heart from the Lord God of Israel, who had appeared twice to him,

Kings III 11:9 In-Context

9 And the Lord was angry with Solomon, because he turned away his heart from the Lord God of Israel, who had appeared twice to him,
10 and charged him concerning this matter, by no means to go after other gods, but to take heed to do what the Lord God commanded him; neither was his heart perfect with the Lord, according to the heart of David his father.
11 And the Lord said to Solomon, Because it has been thus with thee, and thou hast not kept my commandments and my ordinances which I commanded thee, I will surely rend thy kingdom out of thy hand, and give it to thy servant.

The Brenton translation of the Septuagint is in the public domain.