There are various takes on the Soul's journey after the body dies; The fragments that we have from the Gospel of Mary describe the journey thus:
Chapter 8:. . . it.
10) And desire said, I did not see you descending, but now I see you ascending. Why do you lie since you belong to me?
11) The soul answered and said, I saw you. You did not see me nor recognize me. I served you as a garment and you did not know me.
12) When it said this, it (the soul) went away rejoicing greatly.
13) Again it came to the third power, which is called ignorance.
14) The power questioned the soul, saying, Where are you going? In wickedness are you bound. But you are bound; do not judge!
15) And the soul said, Why do you judge me, although I have not judged?
16) I was bound, though I have not bound.
17) I was not recognized. But I have recognized that the All is being dissolved, both the earthly things and the heavenly.
18) When the soul had overcome the third power, it went upwards and saw the fourth power, which took seven forms.
19) The first form is darkness, the second desire, the third ignorance, the fourth is the excitement of death, the fifth is the kingdom of the flesh, the sixth is the foolish wisdom of flesh, the seventh is the wrathful wisdom. These are the seven powers of wrath.
20) They asked the soul, Whence do you come slayer of men, or where are you going, conqueror of space?
21) The soul answered and said, What binds me has been slain, and what turns me about has been overcome,
22) and my desire has been ended, and ignorance has died.
23) In a aeon I was released from a world, and in a Type from a type, and from the fetter of oblivion which is transient.
24) From this time on will I attain to the rest of the time, of the season, of the aeon, in silence.
Important to note that these aeons were very important then in describing the human condition---they are very important now as they have mutated into psychological terms.
Ignorance is, of course, the mother of all evil. That's why you will see it in these text in a negative portrayal time after time.
This journey is that of a soul that had found salvation; ignorance no longer bound it, nor desire, nor had it judged anyone, so could not be judged in like manner.