The Ancient Egyptians held a great reverence for the Jackal headed
god Anubis, who oversaw the embalming and mummification
process as well as escorting the deceased through the procedures
for entering the underworld.
When the person arrived for judgment, they would first declare
their purity before an assembly of gods including Osiris. the
Ibis headed god Thoth was on hand to
record the result of the judgment.
In the 'weighing of the heart' from the Book
Of The Dead the heart of the dead person was balanced against
the feather of Maat, or truth. If the heart was lighter
than the feather the dead person was allowed to pass on into
the underworld, but if it failed the test then the Eater
of souls would devour the deceased.