The Lord became angry with Solomon. That's because his heart had turned away from the Lord. He is the God of Israel. He had appeared to Solomon twice.