Nehemiah 13:25-27

25 And I contended with them, and cursed them, and smote certain of them, and plucked off their hair, and made them swear by God, saying, Ye shall not give your daughters to their sons, nor take their daughters for your sons, or for yourselves.

26 Did not Solomon king of Israel sin by these things? Yet there was no king like him among many nations, and he was beloved of his God, and God made him king over all Israel. Nevertheless foreign women caused even him to sin.

27 Shall we then hearken to you to do all this great evil, to trespass against our God in marrying foreign women?