Now king Solomon [defiantly] loved many foreign women along with the daughter of Pharaoh: Moabite, Ammonite, Edomite, Sidonian, and Hittite women, from the very nations of whom the LORD said to the Israelites, “You shall not associate with them, nor shall they associate with you, for the result will be that they will turn away your hearts to follow their gods.” Yet Solomon clung to these in love. [Deut 17:17] He had seven hundred wives, princesses, and three hundred concubines, and his wives turned his heart away [from God]. For when Solomon was old, his wives turned his heart away after other gods; and his heart was not completely devoted to the LORD his God, as was the heart of his father David. For Solomon went after Ashtoreth, the [fertility] goddess of the Sidonians, and after Milcom the horror (detestable idol) of the Ammonites. [1 Kin 9:6-9] Solomon did evil [things] in the sight of the LORD, and did not follow the LORD fully, as his father David had done. Then Solomon built a high place for [worshiping] Chemosh the horror (detestable idol) of Moab, on the hill which is east of Jerusalem, and for Molech the horror (detestable idol) of the sons of Ammon. And he did the same for all of his foreign wives, who burned incense and sacrificed to their gods.
So the LORD became angry with Solomon because his heart was turned away from the LORD, the God of Israel, who had appeared to him twice, and had commanded him concerning this thing, that he should not follow other gods; but he did not observe (remember, obey) what the LORD had commanded. Therefore the LORD said to Solomon, “Because you have done this and have not kept My covenant and My statutes, which I have commanded you, I will certainly tear the kingdom away from you and give it to your servant. However, I will not do it in your lifetime, for the sake of your father David, but I will tear it out of the hand of your son (Rehoboam). However, I will not tear away all the kingdom; I will give one tribe (Judah) to your son for the sake of My servant David and for the sake of Jerusalem which I have chosen.”