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