My friend, you are sorely confused. According to Jewish law—from the get-go—the “Jewishness” of a child was determined by the mother being Jewish. There were such things as rape by non-Jews of Jewish women. The only way to be sure of the authentic Jewish lineage was to determine it through the mother.
In Genesis chapter 10 for example the lineage of Noah’s sons and their sons after them; all male.