How did the Ancient Egyptians learn?

They learnt through the past like the Great sage Ptah Hotep who wrote many things and lived to 105 or110

Depending on your social class ancient egyptians learned different things. If a male was of the lowest class which where slaves they will most likely learn whatever craft or skill their master had the most need of. If they where farmers skills related to agriculture. Middle class, craftmen, artist and merchants would learn skills related either to the family business and for the people that could afford sending their children to scribe school or temple to become part of the priesthood or the bureacracy. High class citizens or royalty usually where trained to be part of the priesthood, government heads. Women usually where not educated and when they where they where high class women who where priestess or part of the royal family. Womens main role in Egypt was a mother.