Osiris was the god of the afterlife in ancient egypt. He judged the souls of the deceased and determined their fate in the afterlife based on their deeds during their lifetime.