King Solomon loved many women who were not from Israel. He loved the daughter of the king of Egypt, as well as women of the Moabites, Ammonites, Edomites, Sidonians, and Hittites.
Foreign women made King Solomon of Israel sin. There was never a king like him in any of the nations. God loved Solomon and made him king over all Israel, but foreign women made him sin.