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