So why don’t scholars agree?
There are passages in Genesis that Moses could not have written, because they describe events that happened after his death, known as postmosaica passages. And there are others that would simply be awkward for Moses to write, which are referred to as amosaica (such as Numbers 12:4). If these passages were added later, how do we know what Moses did and didn’t write? **
I mention Abraham because, chronologically, Abraham predates Moses significantly. **
Abraham & Sarah (Journey to Canaan to Death) – 2091 BCE – 1991 BCE
Moses (Birth to Death) w/ Aaron and Miriam – 1525 bc – 1406 bc
The Epic of Gilgamesh dates back to 2100 BCE and is very interestingly from the same region that Abraham is reportedly a native (Ur Kaśdim, Mesopotamia). **
The final Pentateuch was based on existing traditions. In Ezekiel 33:24, written during the Babylonian Exile (i.e., in the first half of the 6th century BCE). **
So, the written account of Gilgamesh certainly predates the written Pentateuch.
RE: DEISM = ATHEISM