"The Epic of Gilgamesh (/ˈɡɪlɡəmɛʃ/)[2] is an epic poem from ancient Mesopotamia, regarded as the earliest surviving notable literature and the second oldest religious text, after the Pyramid Texts. The literary history of Gilgamesh begins with five Sumerian poems about Bilgamesh (Sumerian for "Gilgamesh"), king of Uruk, dating from the Third Dynasty of Ur (c. 2100 BCE).[1] "
"Garden of Eden
The parallels between the stories of Enkidu/Shamhat and Adam/Eve have been long recognized by scholars.[39][40] In both, a man is created from the soil by a god, and lives in a natural setting amongst the animals. He is introduced to a woman who tempts him. In both stories the man accepts food from the woman, covers his nakedness, and must leave his former realm, unable to return. The presence of a snake that steals a plant of immortality from the hero later in the epic is another point of similarity."
"Noah's flood
Andrew George submits that the Genesis flood narrative matches that in Gilgamesh so closely that "few doubt" that it derives from a Mesopotamian account.[42] What is particularly noticeable is the way the Genesis flood story follows the Gilgamesh flood tale "point by point and in the same order", even when the story permits other alternatives.[43] In a 2001 Torah commentary released on behalf of the Conservative Movement of Judaism, rabbinic scholar Robert Wexler stated: "The most likely assumption we can make is that both Genesis and Gilgamesh drew their material from a common tradition about the flood that existed in Mesopotamia. These stories then diverged in the retelling."[44] Ziusudra, Utnapishtim and Noah are the respective heroes of the Sumerian, Akkadian and biblical flood legends of the ancient Near East."
https://en.wikipedia.org/wiki/Epic_of_Gilgamesh