1 Kings 11:9-10

NLT
New Living Translation

9The Lord was very angry with Solomon, for his heart had turned away from the Lord, the God of Israel, who had appeared to him twice. 10He had warned Solomon specifically about worshiping other gods, but Solomon did not listen to the Lord’s command.