Arcana Coelestia #4787
4787. Verse 36 And the Midianites sold him into Egypt to Potiphar, Pharaoh's bedchamber-servant, the chief of the attendants.
'The Midianites sold him into Egypt' means that those in whom some truth partnering simple good was present consulted facts. 'To Potiphar, Pharaoh's bedchamber-servant' means facts of a more internal kind. 'The chief of the attendants' means those facts which are first and foremost in explanations.
Arcana Coelestia #1234
1234. That 'Aram' means cognitions of good has been shown just above, from which it follows that 'the sons of Aram' are derivative cognitions and the products of cognitions. Derivative cognitions are natural truths, while the products of cognitions are deeds done in accordance with them. The fact that these things are meant cannot be confirmed so easily from the Word, for they are not among the names that are mentioned frequently. Uz alone is mentioned, in Jeremiah 25:20 and Lamentations 4:21. From this then it follows that 'Uz, Hul, Gether, and Mash' mean just so many types of these cognitions, and of deeds done in accordance with them.