1 Kings 11:9

Amplified Bible (AMP)
So the Lord became angry with Solomon because his heart was turned away from the Lord, the God of Israel, who had appeared to him twice,

Read 1 Kings 11:9 in other translations