Apocalypse of Adam
The Apocalypse of Adam, discovered at Nag Hammadi in Upper Egypt in 1945, is a Sethian work of Apocalyptic literature dating to the first-to-second centuries AD. This tractate is one of five contained within Codex V of the Nag Hammadi library. Content. Adam in his 700th year tells his son Seth about how when he and Eve had first been created, they used to walk in the glory of the eternal God, and they were in fact more powerful than their creator (Yaldabaoth, the ruler of the aeons). However, that glory and knowledge was lost  to them when Yaldabaoth became angry with them and divided them into two aeons (i.e. male and female). They became slaves to the creator, and also to death. Adam then relates to Seth the hidden knowledge he received in a revelation from three mysterious men. Adam then prophesizes about attempts of the subcreator god to destroy mankind, including the prophecy of the great global flood and of attempted destruction by fire. Adam further prophesizes that after the floodwaters have receded, God will give the earth to Noah (who will be known to posterity as Deucalion, the hero of the flood  caused by Zeus in Greek mythology). Noah will then divide the earth among his sons, Ham and Japheth and Shem, with the caveat that they must always serve God "in fear and slavery". Then the descendants of Ham and Japheth (no mention is made of Shem) will form twelve kingdoms, and also be part of a thirteenth kingdom. "The illuminator of knowledge" will then come to redeem the souls of Noah's descendants. Adam then foretells the coming of the Illuminator, who will perform miracles and pass knowledge onto Noah's descendants. The powers of God are jealous of the  Illuminator, since he appears to be more powerful than they are, and they inquire about his origin. The thirteen different kingdoms each describe a different origin story for the Illuminator, each ending with the phrase "And thus he came to the water". Of these stories, only the "generation without a king," proclaims the truth.