 Isis grew more popular as a goddess of protection, magic, and personal salvation, and became the most important goddess in Egypt.In the 4th century BC, Egypt became a Hellenistic kingdom under the Ptolemaic dynasty (305–30 BC), which assumed the pharaonic role, maintaining the traditional religion and building or rebuilding many temples.The kingdom's Greek ruling class identified the Egyptian deities with their own.