The ancient Egyptians believed in many gods and goddesses, each with their own role in maintaining peace and harmony. Some gods were responsible for creation, floods, protection, and the afterlife. Minor gods represented towns, plants, or animals. Egyptians found it important to worship the gods so that life continued smoothly. Anubis ruled over death and funerals for eons until Osiris took over. Ra was the sun god who sailed across the sky daily. Osiris was a mythological king who was murdered but resurrected, and was worshipped at Abydos.