Why did ancient Egyptians believe that having social classes was a good idea?