The Enuma Eliš — Akkadian for "When on high," its opening words — is the principal Babylonian creation epic, composed sometime in the second millennium BCE, most likely during the reign of Nebuchadnezzar I in the 12th century BCE, though it draws on much older Sumerian and Akkadian mythological material. It survives inscribed across seven clay tablets and was recovered largely intact from the library of the Assyrian king Ashurbanipal at Nineveh.
The poem tells of a primordial state before creation, when only two beings existed: Apsu, the god of fresh water, and Tiamat, goddess of the salt sea, whose mingling waters gave rise to successive generations of gods. As the younger gods grow numerous and noisy, Apsu resolves to destroy them, is killed pre-emptively by the god Ea, and Tiamat — now enraged and grieving — assembles an army of monsters under her new consort Kingu to take revenge on the entire divine order.
No god dares face her until Marduk, Ea's young son, agrees to fight Tiamat on one condition: if he wins, he must be declared supreme king of all the gods. The assembled deities agree. Marduk kills Tiamat, splits her enormous corpse in half "like a shellfish," and uses the two halves to form the heavens and the earth — the cosmos itself built from the body of a slain goddess.
Having created the physical universe, Marduk goes on to organise the calendar, fix the stations of the stars, and — in the poem's final act of creation — orders the god Ea to fashion humanity from the blood of Kingu, Tiamat's executed general, specifically so that the gods might be relieved of manual labour and properly worshipped instead. Humans, in this account, exist to serve the gods and nothing more.