The ancient Egyptians had many religious and spiritual beliefs centered around important deities. The four most important deities were Ra the sun god; Osiris the god of the underworld and vegetation; Isis the wife of Osiris and protector of children; and Anubis the god of death and guardian of tombs. The Egyptians believed their souls would be judged by Anubis after death.