Was it not over such women that Solomon king of Israel sinned? Among all those nations there was no king like him. He was loved by his God, and God made him king over all Israel — and even him the foreign women dragged into sin.
In context
24Half their children spoke the language of Ashdod or the language of this people or that, and none of them knew how to speak the language of Judah. 25I confronted them and called down curses on them; I struck some of the men and pulled out their hair. And I made them swear by God: “You are not to give your daughters to their sons or take their daughters for your sons or for yourselves. 26Was it not over such women that Solomon king of Israel sinned? Among all those nations there was no king like him. He was loved by his God, and God made him king over all Israel — and even him the foreign women dragged into sin. 27Are we then to hear of you doing all this great evil, breaking faith with our God by marrying foreign women?” 28One of the sons of Joiada son of Eliashib the high priest was a son-in-law of Sanballat the Horonite, so I drove him away from me.