Ra's Journey Through the Duat (the Night)
Each night, the sun god Ra enters the Duat (the underworld) in his 'Night Barque' and travels through the twelve hours of the night. At the hour of greatest danger (around midnight), the chaos serpent Apep strikes; Thoth and other gods help Ra defeat Apep. Ra rises again at dawn [S2]S2 · Book of the Dead (e.g., Papyrus of Ani)c. 1250 BCEtextOpen source ↗[S4]S4 · Hornung, 'The Ancient Egyptian Books of the Dead' / 'Nile Religion' (academic)modern (translation & scholarship)academic. The justified dead 'sail with Ra' through the night [S2]S2 · Book of the Dead (e.g., Papyrus of Ani)c. 1250 BCEtextOpen source ↗[S4]S4 · Hornung, 'The Ancient Egyptian Books of the Dead' / 'Nile Religion' (academic)modern (translation & scholarship)academic.
Ancient Egyptian religion spanned three millennia. There is no single 'official' version: Heliopolitan, Memphite, and Hermopolitan creation traditions coexisted and are presented in parallel, not merged into a genealogy that never existed.
The 'Book of the Dead' and the 'Amduat' (Book of the Netherworld) describe the journey in different detail; the two sources are not identical [S2]S2 · Book of the Dead (e.g., Papyrus of Ani)c. 1250 BCEtextOpen source ↗[S4]S4 · Hornung, 'The Ancient Egyptian Books of the Dead' / 'Nile Religion' (academic)modern (translation & scholarship)academic.