And the Lord was angry with Solomon, because his heart was turned away from the Lord, the God of Israel, which had appeared unto him twice,