Predating Osiris in his role as God of the Underworld, Anubis was the jackal-headed god of death and graveyards. He acted as both a protector and a psychopomp, escorting souls of the ancient Egyptian dead to the abundant afterlife. One of his most iconic roles in mythology is the weighing of a human's heart against a feather on a great cosmic scale- meant to help determine just which afterlife you would be sent to. The hearts of those who had lived a pure, compassionate life balanced evenly with the ostrich feather, yet a rotten heart would drop the scale and doom the unfortunate soul.