It is based on incest and is all a part of god's plan. God was once so upset with sinful mankind that he decided to destroy them all and drown everyone except for 8 people. In his great wisdom this left it all open to once again populating the earth by incest. Just leave it to god.
There are TWO creation myths in Genesis
Chapter one has humans created, male and female, be fruitful and multiply
Chapter two is the Garden tale, where God made his CHOSEN people (Adam and Eve)
Wives came from the land of Nod (where the humans from chapter one dwelt)
Not saying it makes sense, just touching on the general idea, which varies a little sect to sect, and this same thing is used by white supremacists to justify racism via Christianity.
The buy-babble say Cain knew his wife, and since he lived in the land of Nod, ( Yes really. ) she presumably came from Nod and so was a Noddy. One thing of course about the Adam And Eve story, is that in its original form the couple were not perhaps the first people on Earth, but only the first of the line which led to the Jews, they only later get mixed up with the origin story.