According to enuma elish, human beings are created primarily to serve the gods
The Enuma Elish is a political document and is not primarily an account of creation but rather a hymn of praise to Marduk, Babylon's patron deity. It was written to spread the cause of Babylon by portraying Marduk as being distinguished among the gods