The LORD did not want the Israelites to worship foreign gods, so he had warned them not to marry anyone who was not from Israel. Solomon loved his wife, the daughter of the king of Egypt. But he also loved some women from Moab, Ammon, and Edom, and others from Sidon and the land of the Hittites.
The LORD God of Israel had appeared to Solomon twice and warned him not to worship foreign gods. But Solomon disobeyed and did it anyway. This made the LORD very angry,