Arcana Coelestia # 3101
3101. 'So as to know whether Jehovah had prospered his way or not' means regarding Divine Truth, as to what sort it was. This is clear from the meaning of 'way' as truth, dealt with in 627, 2333. The Divine nature of that truth is meant by the words 'whether Jehovah had prospered' which amounts to the same as, whether it was from Jehovah, that is, from the Divine. Accordingly what sort of truth is meant, for the truths that are summoned from the natural man into the rational man are not all received, only those that accord with the good there, and on being sown and implanted in this way act as one with that good. The rest, even though they may have appeared as truths prior to being raised up, are nevertheless not received because they are not acknowledged. Good is that which acknowledges its own truth, and truth that which acknowledges its own good. That it was an acknowledgement of what sort of truth it was, and that thus this truth was received, is also evident from what follows next.
Arcana Coelestia # 4757
4757. 'And they drew Joseph out and caused him to come up out of the pit' means the help provided by these so that [Divine Truth] is no longer among falsities. This is clear from the meaning of 'drawing out and causing to come up' as delivering and therefore as providing help, dealt with below, and from the meaning of 'the pit' as falsities, dealt with in 4728, and so as its being no longer among falsities. The reason 'drawing out and causing to come up' here means providing help is that truth is what brings help to good. For truth has power attributed to it because good exercises its power by means of truth, 3091, 3563. Furthermore truth is the means by which falsity is recognized, and so by which help is provided so that it is no longer among falsities. This is the reason why it was the Midianites who drew Joseph out and caused him to come up out of the pit, but why it was the Ishmaelites who bought him.