Many of the Chapters of Coming Forth by Day mention "Beings that the 'departed' fear because they can harm them, carrying off their hearts. They are 'the belligerent gods dwelling in Annu (ON)' and Seth, the god of evil.".
If everything is done properly, though:
« The glistening Eye of Horus comes. It comes in calm (!) and sends ahead the rays of the light of Ra who lives on the horizon and it breaks down the powers of Seth in accordance with the direction… »
«…They make your way pleasant and cast down the demons of Seth in your name».
In other words, the person overcomes the obstacle and passes through the "lands of Seth" without the mishaps and dangers lying in wait for the uninformed.
An illustration (on the left) for another chapter shows the person described in the text moving ahead, making for Ra-Stau.
Ra-Stau (Ra-Setau) is the name given to the fifth division of the Duat, which translates literally as "the place of drawing through" into the other world. That is how the complex of great pyramids at Giza was called in ancient times. That means that the person described in the text went to Ra-Stau in order to pass into a different world.
The text states: "As for the 'reservoir of Ma'at' [the energies of the Law], it is the path for Abtu (the fifth, Osirian energy body) along which his father Tem travels when he goes to Sekhet-Aaru [the kingdom of Osiris in the Duat], the region that gives food and nourishment to the gods who are concealed… The gate of Tchesert is the gate of the Duat, the twin-leafed gate through which the god Tem passes when he makes for the eastern horizon of the heavens.»
The texts contain many chapters explaining the purpose of this journey. It involved passing through Amontet (the Duat) and entering the region of daylight where the Pharaoh, having vanquished Seth, met Osiris, his father (and entered into contact with the gods).