Essay: Plague and flood in Atrahasis
Moreover, the gods granted Utnapishtim immortality due to his role in saving humanity in the flood. The gods also have the power to kill, or rather, have power over death. The famine, plague and flood in Atrahasis were specifically meant to kill the excess number of humans inhabiting the earth so the gods could have peace.
Enkidu was condemned to a dishonourable death, and all efforts to avert his death were unsuccessful.