“I praise the dead who are already dead, more than the living who are still alive” (Ecclesiastes 4:2). “I praise the dead who are already dead” – these are the generation of Enosh and the generation of the Flood; “more than the living who are still alive” – these are the Sodomites and the Egyptians.6The generations of Enosh and the Flood were destroyed and will never come back to life. The Sodomites and Egyptians will come back to life in the World to Come, and will be punished and abhorred by all (Etz Yosef).
Enosh and the Ark of Egyptians
Kohelet Rabbah 2:1