The reason was because those people worshipped idols, not because of race; the Hebrews, Amorites, Canaanites, etc. The apostle Paul encouraged Christians not to marry unbelievers (2 Corinthians ), but here again, the reason was religious, not racial.
Jesus and His apostles taught that we must respect and show compassion for all people of God's creation without regard to artificial distinctions like race and nationality.
There is nothing in the Bible saying it is wrong to date or marry a person of a different race.
There are a few incidental mentions of race in the Bible (e.g., that Ethiopian's skin was different, Jeremiah ), but there is nothing saying one race is superior to another.
The five books are drawn from four "sources" (distinct schools of writers rather than individuals): the Priestly source, the Yahwist and the Elohist (these two are often referred to collectively as the "non-Priestly" source), and the Deuteronomist.There is neither Jew nor Greek, slave nor free, male nor female, for you are all one in Christ Jesus.(NIV, Galatians -28) laws which banned interracial marriages. A number of attempts were made to use the Bible to justify those bans on interracial marriage.Dating the Bible has been debated and these four tables give the most commonly accepted dates or ranges of dates for the Old Testament/Hebrew Bible, the Deuterocanonical books (included in Roman Catholic and Eastern Orthodox bibles, but not in the Hebrew and Protestant bibles) and the New Testament, including—where possible—hypotheses about their formation-history. Table II treats the Old Testament/Hebrew Bible books, grouped according to the divisions of the Hebrew Bible with occasional reference to scholarly divisions. Table IV gives the books of the New Testament, including the earliest preserved fragments for each.This table summarises the chronology of the main tables and serves as a guide to the historical periods mentioned.In His Parable of the Good Samaritan (Luke -37), Jesus told of a Samaritan man who was kind to a Jewish man even thought they were enemies of different religions, nationalities and racial backgrounds.