The second treatise of the Great Seth, "they hate the one in whom they are, and love the one in whom they are not. For they did not know the Knowledge of the Greateness, that it is from above and (from) a fountain of truth, and that it is not from slavery and jealousy, fear and love of worldly matter."
The Gnostic gospels.
The Gospel of Truth.
(28: 25) When the light shine on the terror which that person had experienced, he knows that it is nothing. Thus they were ignorant of the Father he being the one whom they did not see. Since it was terror and disturbance and instability and doubt and division, there were many illusions at work by means of these, and there were empty fictions, as if they were sunk in sleep and found themselves in disturbing dreams. Either there is a place to which they are fleeing, or without strength they come from having chased after others, or thy are involved in striking blows, or they are receiving blows themselves, or they have fallen from high places, or they take off into the air though they do not even have wings. Again, sometimes it is as if people were murderding them, though there is no one even pursuing them, or they themselves are killing their neighbors, for they have been stained with their blood. When those who are going through all these things wake up, they see nothing, they who were in the midst of all these disturbances, for they are nothing. Such is the way of those who have cast ignorance aside from them like sleep, not esteeming it as anything, nor do they esteem its works as solid things either, but they leave them behind like a dream in the night. The knowledge of the Father they value as the dawn. This is the way each one has acted, as though asleep at the time when he was ignorant. And this is the way he has come to knowledge, as if he had awakened. And Good for the man who will return and awaken. And blessed is he who has opened the eyes of the blind.
This is the synopsis of the Matrix movie, which is a metaphor for how someone wakes up from their normal existance and realises that everything they thought was real turns out to be an illusion and there is a much broader reality beyond what they have been programmed with all their lives. The sentance which saids, "Since it was terror and disturbance and instability and doubt and division, there were many illusions at work by means of these, and there were empty fictions, as if they were sunk in sleep and found themselves in disturbing dreams.", saids that polarisation and the illusions that someone has, causes someone to believe that they are someone or something that they are not. When someone believes that they are their artificial self that has been programmed into them all their lives and forget about their true selves and the totality, they are asleep.
The sentance, which saids, "When those who are going through all these things wake up, they see nothing, they who were in the midst of all these disturbances, for they are nothing. Such is the way of those who have cast ignorance aside from them like sleep, not esteeming it as anything, nor do they esteem its works as solid things either, but they leave them behind like a dream in the night.", is saying that everything that someone has believed about themselves and their map of reality, which distorts their view of themselves and the world, is just as fake and as temporary as a dream.
The part of this passage, which saids, "And this is the way he has come to knowledge, as if he had awakened. And Good for the man who will return awaken.", is saying that gaining knowledge of the true self is waking up and returning to the real world, which is the totality, which is not based on polarisation, illusions and a phoney perception one self and the rest of the world.
The Apocryphon of John.
(31) And I entered into the midst of their prison which is the prison of the body. And I said, 'He who hears, let him get up from the deep sleep.' And he wept and shed tears. Bitter tears he wiped from himself and he said, 'Who is it that calls my name, and from where has this hope come to me, while I am in the chains of the prison?' And I said, 'I am the Pronoia of the pure light; I am the thinking of the virginal Spirit, who raised you up to the honored place. Arise and remember that it is you who hearkened, and follow your root, which is I, the merciful one, and guard yourself against the angels of poverty and the demons of chaos and all those who ensnare you, and beware of the deep sleep and the enclosure of the inside of Hades.'
This is similar to the Matrix and the passage in the Gospel of Truth (28: 25), where it saids that the true self is in a deep sleep while it is in the body, which is buried under the illusions of polarisation and time and the programming that creates the person's artificial self over time. This passage tells you to "get up from the deep sleep" and to "beware of the deep sleep and the enclosure of the inside of Hades." The illusions, the programming and the forgetfulness that it causes, causes the individual to be imprisoned by the artifical self.
The Sophia of Jesus Christ.
(97:20) "Whoever has ears to hear about the infinities, let him hear"; and "I have addressed those who are awake."
The statement of "Whoever has ears to hear", appears in the Bible as well, but this passage is saying that these ears aren't physical or intellectual, they are spiritual and people need to have spiritual senses in order to see a broarder reality and understand the bigger mysteries that this passages calls the infinites. The second part of this passage, "I have addressed those who are awake.", is saying that these teachings are for those who are spiritually awake. Someone who's not in touch with their soul has a lot of trouble understanding these passages.
(100:15) The perfect Savior said: "I want you to know that he who appeared before the universe in infinity, Self-grown Self-constructed Father, being full of shining light and ineffable, in the beginning when he decided to have his likeness become a great power, immediately the principle (or beginning) of that Light appeared as Immortal Androgynous Man, that through that Immortal Man they might attain their salvation and awake from forgetfulness through the interpreter who was sent, who is with you until the end of the poverty of the robbers.
This passage is saying that salvation is waking up the soul.
The paraphrase of Shem.
(41:20) "And I, Shem, awoke as if from a long sleep. I marveled when I received the power of the Light and his whole thought. And I proceeded with Faith to shine with me. And the righteous one followed us with my invincible garement."
(47:5) These are the things which I completed while bearing witness. I am Shem.On the day that I was to come forth from (the) body, when my thought remained in (the) body, I awoke as if from a long sleep. And when I arose as it were from the burden of my body, I said, Just as Nature became old, so is it also in the day of mankind. Blessed are they who knew, when they slept, in what power their thought rested.
The teachings of Silvanus.
(113:30) Then beware, lest somehow you fall into the hands of the robbers. Do not allow sleep to your eyes nor drowsiness to your eyelids that you may be saved like a gazelle from nets and like a bird from a trap.
The Hypostasis of the Archons
(89) The rulers took counsel with one another and said, "Come, let us cause a deep sleep to fall upon Adam." And he slept. - Now the deep sleep that they "caused to fall upon him, and he slept" is Ignorance. - They opened his side like a living woman. And they built up his side with some flesh in place of her, and Adam came to be endowed only with soul.
This is a twist to the Garden of Eden story in Genesis. As shown in the article called A real creation theory, http://www.TheHermetica.com/arealcreationtheory.htm, the story about Adam and Eve may be a metaphor describing the soul entering the body and going into a polarized state and becomming ignorant of it's original self. The Gnostics identify the sleep as being ignorance in this passage. Sleep is linked with Eve being created from Adam and the state of polarization that came after it.
The Book of Genesis, 2: 21, saids that God put Adam into a deep sleep and one of his ribs was taken and made into a woman. Considering that there maybe metaphors in the Book of Genesis the deep sleep could represent the soul going into the body and going to sleep. Sleep is used as a metaphor to describe the condition of the soul or the true self especially in mystical societies and in movies like the Matrix where waking up from the illusion an into the real world is the main theme of the movie. It's interesting to note that the Book of Genesis never saids that Adam woke up after the woman was made. Adam continued sleeping until the day he died. The Book of Genesis links the deep sleep with the polarization of the sexes and all other forms of polarization as well, particulary good and evil, which is what caused the Fall of Man. The Fall of Man is a fall from the higher level to the lower level, from a higher state of consciousness to a lower state of consciousness.
(91: 5) Moreover they threw mankind into great distraction and into a life of toil, so that their mankind might be occupied by worldly affairs, and might not have the opportunity of being devoted to the holy spirit.
This describes the condition that many people are in quite well. The elites like to use distraction to keep people's attention away from important issues, these distractions can include entertainment, media and work. The elites also get people to work as much as possible so people don't have the time to put their consciousness on the spirit.
The Apocalypse of Adam.
(64:20), "Then God, the ruler of the aeons and the powers, divided us in wrath. Then we became two aeons. And the glory in our heart(s) left us, me and your mother Eve, along with the first knowledge that breathed within us. And it (glory) fled from us; it entered into [...] great [...] which had come forth, not from this aeon from which we had come forth, I and Eve your mother. But it (knowledge) entered into the seed of great aeons. For this reason I myself have called you by the name of that man who is the seed of the great generation or from whom (it comes). After those days, the eternal knowledge of the God of truth withdrew from me and your mother Eve. Since that time, we learned about dead things, like men. Then we recognized the God who had created us. For we were not strangers to his powers. And we served him in fear and slavery. And after these things, we became darkened in our heart(s). Now I slept in the thought of my heart.
And I saw three men before me whose likeness I was unable to recognize, since they were not the powers of the God who had created us. They surpassed [...] glory, and [...] men [...] saying to me, "Arise, Adam, from the sleep of death, and hear about the aeon and the seed of that man to whom life has come, who came from you and from Eve, your wife."
The concept of our great power.
(39:30) Yet you are sleeping, dreaming dreams. Wake up and return, taste and eat the true food! Hand out the word and the water of life! Cease from the evil lusts and desires and (the teachings of) the Anomoeas, evil heresies that have no basis.
Corpus Hermeticum I.
 "Because of this, unlike any other living thing on earth, mankind is twofold - in the body mortal but immortal in the essential man. Even though he is immortal and has authority over all things, mankind is affected by mortality because he is subject to fate; thus, although man is above the cosmic framework, he became a slave within it. He is androgyne because he comes from an androgyne father, and he never sleeps because he comes from one who is sleepless. <Yet love and sleep are his> masters."
This passage says that man in the flesh is both above and below, physical and spiritual, free and slave etc. The word androgyne means being without sex. That is a common believe in a lot of religions and mystical societies. The sexes are a feature of the physical body and not the spirit.
 And I began proclaiming to mankind the beauty of reverence and knowledge: "People, earthborn men, you who have surrendered yourselved to drunkenness and sleep and ignorance of god, make yourselves sober and end your drunken sickness, for you are bewitched in unreasoning sleep."
 Within myself I recorded the kindness of Poimandres, and I was deeply happy because I was filled with what I wished, for the sleep of my body became sobriety of soul, the closing of my eyes became true vision, my silence became pregnant with good, and the birthing of the word became a progeny of goods. This happened to me because I was receptive of mind - of Poimandres, that is, the word of sovereingnty. I have arrived, inspired with the divine breath of truth.
Corpus Hermeticum VII
 Where are you heading in your drunkenness, you people? Have you swallowed the doctrine of ignorance undiluted, vomiting it up already because you cannot hold it? Stop and sober yourselves up! Look up with the eyes of the heart - if not all of you, at least those of you who have the power. The vice of ignorance floods the whole earth and utterly destroys the soul shut up in the body, preventing it from anchoring in the havens of deliverance.  Surely you will not sink in this great flood? Those of you who can will take the ebb and gain the haven of deliverance and anchor there. Then, seek a guide to take you by the hand and lead you to the portals of knowledge. There shines the light cleansed of darkness. There no one is drunk. All are sober and gaze with the heart toward one who wishes to be seen, who is neither heard nor spoken of, who is seen not with the eyes but with mind and heart. But first you must rip off the tunic that you wear, the garment of ignorance, the foundation of vice, the bonds of corruption, the dark cage, the living death, the sentient corpse, the portable tomb, the resident thief, the one who hates through what he loves and envies through what he hates.
13:3, "Look on me and answer, Lord my God. Give light to my eyes, or I will sleep in death".
That is a perfect Psalm and the ignorance of sleep is death.
Gospel of Matthew.
9:23 When Jesus entered the ruler’s house and saw the flute players and the noisy crowd, 24he said, “Go away. The girl is not dead but asleep.” But they laughed at him. 25After the crowd had been put outside, he went in and took the girl by the hand, and she got up. 26News of this spread through all that region.
The part of this passages where Jesus saids, "The girl is not dead but asleep." is a cryptic statement that many Biblical scholars haven't figured out. Jesus is saying here that forgetting about who you are before you entered the body is death. Being asleep in the Matrix is also death. The more fleshy someone is the dead they are. Resurrection means resurrecting the soul or the true self. This passage is about a miracle from Jesus in resurrecting a girl's body from the dead but the deeper message in this passage is about resurrecting the soul or the true self as well.
25:1“Then the kingdom of heaven will be comparable to ten virgins, who took their lamps and went out to meet the bridegroom. 2“Five of them were foolish, and five were prudent. 3“For when the foolish took their lamps, they took no oil with them, 4but the prudent took oil in flasks along with their lamps. 5“Now while the bridegroom was delaying, they all got drowsy and began to sleep. 6“But at midnight there was a shout, ‘Behold, the bridegroom! Come out to meet him.’ 7“Then all those virgins rose and trimmed their lamps. 8“The foolish said to the prudent, ‘Give us some of your oil, for our lamps are going out.’ 9“But the prudent answered, ‘No, there will not be enough for us and you too; go instead to the dealers and buy some for yourselves.’ 10“And while they were going away to make the purchase, the bridegroom came, and those who were ready went in with him to the wedding feast; and the door was shut. 11“Later the other virgins also came, saying, ‘Lord, lord, open up for us.’ 12“But he answered, ‘Truly I say to you, I do not know you.’ 13“Be on the alert then, for you do not know the day nor the hour.
The brides going to sleep when the bridegroom is gone represents the soul being asleep while it's in the body. This is the Matrix sleep. The bridegroom comes back at midnight and this is the 12th hour, this may represent the 12th astrological age. The bridegroom returning will bring about a mass awakening.
Gospel of Mark.
32 “But about that day or hour no one knows, not even the angels in heaven, nor the Son, but only the Father. 33 Be on guard! Be alert! You do not know when that time will come. 34 It’s like a man going away: He leaves his house and puts his servants in charge, each with their assigned task, and tells the one at the door to keep watch.
35 “Therefore keep watch because you do not know when the owner of the house will come back—whether in the evening, or at midnight, or when the rooster crows, or at dawn. 36 If he comes suddenly, do not let him find you sleeping. 37 What I say to you, I say to everyone: ‘Watch!'"
This passage says that the Earth has been handed to Man and responsibility for it is ours. The last statement, "do not let him find you sleeping", isn't talking about physical sleep. It's talking about spiritual sleep of the soul, like what the Matrix was portraying. This statement is telling you to stay spiritually awake, literally. Or if you haven't woken up then wake up.
The Pyramid Texts.
"Awake, Osiris! Awake, O King!
Stand up and sit down, throw off the earth which is on you!" Utterance 498, Egyptian Pyramid Texts.
Osiris was the Eyptian god of the dead and resurrection and in Utterance 498, he is told to wake up from his death and throw off the earth, which is the material world. Waking up and resurrection were an important feature of the Egyptian religion.
Sarcophagus Chamber, West Wall
The king prays to the sky-goddess
O Great One who became Sky,
You are strong, you are mighty,
You fill every place with your beauty,
The whole earth is beneath you, you possess it!
As you enfold earth and all things in your arms,
So have you taken this Pepi to you,
An indestructible star within you!
Sarcophagus Chamber, West Wall
The king asks for admittance to the sky
If you love life, O Horus, upon his life staff of truth,
Do not lock the gates of heaven,
Do not bolt its bars,
After you have taken Pepi's ka into heaven,
To the god's nobles, the god's friends,
Who lean on their staffs,
Guardians of Upper Egypt,
Clad in red linen,
Living on figs,
Anointed with unguent,
That he may speak for Pepi to the great god
And let Pepi ascend to the great god!
Sarcophagus Chamber, West Wall
The king becomes a star
Truly, this Great One has fallen on his side,
He who is in Nedyt was cast down.
Your hand is grasped by Re,
Your head is raised by the Two Enneads.
Lo, he has come as Orion,
Lo, Osiris has come as Orion,
Lord of wine at the wag-feast.
"Good one," said his mother,
"Heir," said his father,
Conceived of sky, born of dusk.
Sky conceived you and Orion,
Dusk gave birth to you and Orion.
Who lives lives by the gods' command,
You shall live!
You shall rise with Orion in the eastern sky,
You shall set with Orion in the western sky,
Your third is Sothis, pure of thrones,
She is your guide on sky's good paths,
In the Field of Rushes.
Sarcophagus Chamber, West Wall
The sky-goddess protcets the king
O Osiris Pepi,
Nut, your mother, spreads herself above you,
She conceals you from all evil,
Nut protects you from all evil,
You, the greatest of her children!
Sarcophagus Chamber, West Wall
The king's power embraces sky and earth
O Osiris Pepi,
You enfold every god in your arms,
Their lands and all their possessions!
O Osiris Pepi,
You are great and round
Like the ring that circles the islands!
Antechamber, West Wall
The king is a primordial god
Hail, O waters brought by Shu,
Which the twin springs raised,
In which Geb has bathed his limbs,
So that hearts lost fear, hearts lost dread.
Pepi was born in Nun
Before there was sky,
Before there was earth,
Before there were mountains,
Before there was strife,
Before fear came about through the Horus Eye.
Pepi is one of that great group born aforetime in On,
Who are not carried off for a king,
Who are not brought before magistrates,
Who are not made to suffer,
Who are not found guilty.
Such is Pepi: he will not suffer,
He will not be carried off for a king,
He will not be brought before magistrates,
The foes of Pepi will not triumph.
Pepi will not hunger,
His nails will not grow long,
No bone in him will be broken.
If Pepi goes down into water,
Osiris will lift him up,
The Enneads will support him,
Re will take Pepi by the hand,
To where a god may be.
If he goes down [to earth]
Geb will lift him up,
The Enneads will support this Pepi,
He will be led by the hand to where a god may be.
Passage to the Antechamber
The king addresses the ferryman
O Boatman of the boatless just,
Ferryman of the Field of Rushes!
Pepi is just before heaven and earth,
Pepi is just before this isle of earth,
To which he has swum, to which he has come,
Which is between the thighs of Nut!
He is that pygmy of the dances of god,
Bringer of joy before his great throne!
This is what you heard in the houses,
What you overheard in the streets
On the day Pepi was called to life,
To hear what had been ordained.
Lo, the two on the great god's throne
Who summon Pepi to life, eternal,
They are Well-being and Health!
Ferry this Pepi to the Field,
The great god's beautiful throne,
That he may do what is done with the revered:
He commends them to the ka's,
He assigns them to the bird-catch;
Pepi is such a one:
He will assign Pepi to the ka's,
He will assign Pepi to the bird-catch.
Antechamber, West Wall
The king prays for admittance to the sky
Awake in peace, O Pure One, in peace!
Awake in peace, Horus of-the-East, in peace!
Awake in peace, Soul-of-the-East, in peace!
Awake in peace, Horus-of-Lightland, in peace!
You lie down in the Night-bark,
You awake in the Day-bark,
For you are he who gazes on the gods,
There is no god who gazes on you!
O father of Pepi, take Pepi with you
Living, to you mother Nut!
Gates of sky, open for Pepi,
Gates of heaven, open for Pepi,
Pepi comes to you, make him live!
Command that this Pepi sit beside you,
Beside him who rises in lightland!
O father of Pepi, command to the goddess beside you
To make wide Pepi's seat at the stairway of heaven!
Command the Living One, the son of Sothis,
To speak for this Pepi,
To establish for Pepi a seat in the sky!
Commend this Pepi to the Great Noble,
The beloved of Ptah, the son of Ptah,
To speak for this Pepi,
To make flourish his jar-stands on earth,
For Pepi is one with these four gods:
Imsety, Hapy, Duamutef, Kebhsenuf,
Who live by maat,
Who lean on their staffs,
Who watch over Upper Egypt.
He flies, he flies from you men as do ducks,
He wrests his arms from you as a falcon, He tears himself from you as a kite,
Pepi frees himself from the fetters of earth, Pepi is released from bondage!
This art is called The Awakening and it shows a man emerging out of the Earth. It is located in Washington DC. This man is waking up from his state of death and reemerging into the light.