The early chapters of Genesis are given a lot of criticism from some quarters.
Generally, their argument is not based on what they can find from Genesis, but on anger against the idea that there is a God who can intervene in the world.
If anyone is prepared to seek for solid facts within early Genesis they are there, even though it is not a scientific document any descriptions and accounts will be true.
Some will immediately respond that it is a myth, a parable or in figurative language, but the Bible is always clear and informs us of what style it has been written in.