This is in the Epic of Gilgamesh which has a flood story that is similar to the Noahic Flood in Genesis. Utnapishtim apparently overheard the gods discussing making the flood on man. Utnapishtim advises Gilgamesh.
Utnapishtim was granted immortality by the gods after surviving the flood, making him the only witness with firsthand knowledge of the event. This allowed him to share the story with Gilgamesh in the Epic of Gilgamesh.
Gilgamesh, in his search for immortality, sought and found Utnapishtim, whom they call the Faraway. Utnapishtim said he would tell Gilgamesh a hidden matter, a secret of the gods. Utnapishtim then proceeded to tell Gilgamesh about the flood.
Utnapishtim recounts the flood story in response to a question from Gilgamesh: How did you find eternal life? Utnapishtim's point is that he was granted immortality due to unique circumstances that will not be repeated. It is therefore futile for Gilgamesh to seek eternal life.
YESSSSSS Utnapishtim is a hero in the story of the flood if that is what you're asking...!!:)
a boat for the flood
Utnapishtim survived when he was told to build a boat, its length as great as its width.
The god Enki warned Utnapishtim of the great flood that would destroy humanity. Enki secretly revealed the gods' plans to Utnapishtim, advising him to build an ark to save himself, his family, and various animals from the impending disaster.
In the Epic of Gilgamesh, gods reveal the coming flood to Utnapishtim, a wise man who built an ark to save creations. Gilgamesh learns about the flood through dreams and seeks out Utnapishtim to learn the secret of immortality.
Utnapishtim exhibits wisdom and resilience in "The Epic of Gilgamesh" story of the flood. He follows the advice of the gods to survive the flood and then offers counsel to Gilgamesh about the realities of mortality.
The reactions of the gods and Utnapishtim were similar in that both were displeased and sought to punish humanity. The gods sent a flood to destroy humanity, while Utnapishtim was granted immortality as a result of surviving the flood. Both instances reflect a belief in divine punishment for human actions.
Utnapishtim escapes death by building a boat as instructed by the god Ea, and loading it with animals and his family. When a great flood comes, Utnapishtim and his companions are saved while the rest of humanity perishes.
Utnapishtim, his wife and other relatives, his craftsmen, and the animals.
In the Epic of Gilgamesh (not in the Book of Genesis), Ea heard the great gods decide to produce the flood, and told Utnapishtim to tear down his house and build a ship to save his family and the seed of all living things.