Osiris was the ancient Egyptian god who ruled the dead because he was the first to be resurrected
In ancient Egyptian religion, Osiris was the god of the afterlife, the underworld, and new life. He became the ruler of the dead because he died and came back to life.
The Osiris myth tells how this happened. Osiris was at times considered the eldest son of the earth god Geb and the sky goddess Nut. In the earliest times, Osiris ruled Egypt as a good and wise king who taught humans law, farming, and religion.
His brother Set, the god of disorder and the desert, wanted the throne for himself:
1. Set killed Osiris and took control of Egypt. In later versions of the story, Set cut the body of Osiris into pieces and scattered them across the land.
2. Isis, who was the sister and wife of Osiris, searched Egypt with their sister Nephthys and collected all the pieces of his body.
3. With the help of other gods, Isis joined the pieces together and wrapped them in cloth to make the first mummy.
4. Isis used her magic to put life back into Osiris for a short time, and they conceived a son, Horus.
After this, Osiris did not stay in the world of the living. Instead, he went down to the Duat, the Egyptian underworld. Because he was the first to defeat death, he became the king and judge of the Duat, where he gave eternal life to the souls of the dead.
Because of this story, Egyptian art shows Osiris as a mummified king. His body is wrapped in the trappings of mummification from the chest downward, and his hands come through the wrappings to hold the crook and flail, the traditional symbols of Egyptian kingship.
Fact-checked against Osiris on Wikipedia
Part of the Religion syllabus: Ancient Polytheisms and Cosmic Order
See it on the timeline of Ancient Polytheisms and Cosmic Order