Osiris was the god of the Underworld. He was also one of the Nine Gods. One of his duties as Lord of the Dead was to do the very last judgment of the Dead, and after that to protect people from the dangers of the Underworld. The transition between life and death must have been a great experience, but still perilous .