Arcana Coelestia # 5082
5082. 'With the chief of the cupbearers and with the chief of the bakers' means in general from the sensory powers subordinate to the understanding part and to the will part. This is clear from the meaning of 'the cupbearer' as the senses subordinate and subject to the understanding, dealt with above in 5077; from the meaning of 'the baker' as the senses subordinate and subject to the will, also dealt with above, in 5078; and from the meaning of 'the chief (or prince)' as that which is first and foremost, dealt with in 1482, 2089, 5044, in this case in general or commonly so throughout; for that which is first and foremost is also common throughout since it reigns throughout the rest of the whole. In relation to particular details, things that are first and foremost exist as what is general and overall, making everything one and removing any signs of incongruity.
Arcana Coelestia # 1482
1482. That 'Pharaoh's princes saw' means the first and foremost commandments, which are 'pharaoh's princes', is clear from the meaning of 'princes' and of 'Pharaoh'. In the Word, in both its historical and its prophetical parts, princes mean the things that are first and foremost. 'pharaoh' has the same meaning as Egypt, Egypt or Pharaoh being used in the best sense here, since they refer to knowledge comprised of cognitions which the Lord took in first in childhood. That first and foremost commandments from the Word are meant is clear from the meaning of these princes in the internal sense. That in general 'Pharaoh' in the Word has the same meaning as Egypt may be confirmed from many references, even as the kings of other kingdoms who are mentioned by name have the same meaning as the actual names given to their kingdoms. But by 'the princes' are meant their first and foremost features, as in Isaiah,
The princes of Zoan are foolish, the wise counselors of Pharaoh. . . . How do you say to Pharaoh, I am a son of the wise, a son of the kings of old? The princes of Zoan have become fools, the princes of Noph deluded. Isaiah 19:11, 13.
Here 'the princes of Zoan and the wise counselors of Pharaoh' stands for facts that are first and foremost. And since wisdom flourished initially in Egypt, as stated already, it is called 'a son of the wise, and a son of the kings of old'. And there are many other places in the Word where in the same way 'princes' stands for features that are first and foremost.