Deuteronomy 21:10-14
"When you go to war against your enemies and the LORD your God delivers them into your hands and you take captives, if you notice among the captives a beautiful woman and are attracted to her, you may take her AS YOUR WIFE. Bring her into your home and have her shave her head, trim her nails and put aside the clothes she was wearing when captured. After she has lived in your house and mourned her father and mother for a full month, then you may go to her and be her husband and she shall be your wife. If you are not pleased with her, let her go wherever she wishes. You must not sell her or treat her as a slave, since you have dishonored her."
The Law of Moses was opposed to marriage alliances with pagan families, as these would tend to lead the Israelites away from the true faith. As can be seen from this passage, it had nothing at all against individual gentile women being married (as long as their families were all dead).
It was a religious concern, not a genetic one.
We have the names of very few women from the OT.
It is interesting that three of these are gentiles who married into Israel, apparently with the delighted approval of all concerned, especially God, as two of them wound up as ancestors of Christ.
Zipporah became the wife of Moses, despite her apparently being what we would today call "black." Miriam, Moses' sister, tried some apparent black-baiting and was stricken with leprosy by God in punishment.
Rahab was a Canaanite prostitute who repented and converted and married a prince of Judah.
Ruth was a Moabitess who married a descendant of Rahab and became the great grandmother of David, who was of course an ancestor of Christ.
Exodus speaks of a "vast mixed company" that left Egypt with the Iraelites. After a short time they are no longer referred to as such. Why not? Because they had been assimilated into the nation of Israel.
Interesting, thank you.