1 Kings 11:2

2 from the nations that the Lord had told the Israelites about, "Do not intermarry with them, and they must not intermarry with you, because they will turn you away [from Me] to their gods."[a] Solomon was deeply attached to these women and loved [them].

1 Kings 11:2 Meaning and Commentary

1 Kings 11:2

Of the nations concerning which the Lord said unto the
children of Israel, ye shall not go in to them, neither shall they
come in unto you
That is, they should not intermarry with one another; this is to be understood of the last mentioned, the Hittites, who were one of the seven nations this law respected, ( Deuteronomy 7:1 Deuteronomy 7:3 )

for surely they will turn away your heart after their gods;
which is the reason given for the making the above law, and was sadly verified in Solomon:

Solomon clave unto these in love;
he not only took them, but kept them, and expressed a strong affection for them.

1 Kings 11:2 In-Context

1 King Solomon loved many foreign women in addition to Pharaoh's daughter: Moabite, Ammonite, Edomite, Sidonian, and Hittite women
2 from the nations that the Lord had told the Israelites about, "Do not intermarry with them, and they must not intermarry with you, because they will turn you away [from Me] to their gods." Solomon was deeply attached to these women and loved [them].
3 He had 700 wives who were princesses and 300 concubines, and they turned his heart away [from the Lord].
4 When Solomon was old, his wives seduced him [to follow] other gods. His heart was not completely with the Lord his God, as his father David's heart had been.
5 Solomon followed Ashtoreth, the goddess of the Sidonians, and Milcom, the detestable idol of the Ammonites.

Footnotes 1

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.