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.
On a hill east of Jerusalem, Solomon built two places for worship. One was a place to worship Chemosh, the hated god of the Moabites, and the other was a place to worship Molech, the hated god of the Ammonites.
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.