1 Kings 11:9
The Lord Raises Adversaries
9 And the Lord was angry with Solomon, because his heart had turned away from the Lord, the God of Israel, who had iappeared to him twice
2 Chronicles 7:12
12 Then pthe Lord appeared to Solomon in the night and said to him: “I have heard your prayer and have qchosen this place for myself as a house of sacrifice.