Pfortenbuch
The Book of Gates is an ancient Egyptian funerary text dating from the New Kingdom. It narrates the passage of a newly deceased soul into the next world, corresponding to the journey of the sun through the underworld during the hours of the night. The soul is required to pass through a series of 'gates' at different stages in the journey. Each gate is associated with a different goddess, and requires that the deceased recognise the particular character of that deity. The text implies that some people will pass through unharmed, but that others will suffer torment in a lake of fire.