4756. 'And men passed by, Midianites, who were traders' means those in whom the truth partnering that good is present. This is clear from the representation of 'Midianites' as those in whom the truth that partners simple good is present, dealt with in 3242; and from the meaning of 'traders' as those who possess cognitions of good and truth, for such cognitions are meant by riches, wealth, and wares in the spiritual sense, and therefore 'trading' means acquiring and communicating these cognitions, 2967, 4453. Here not cognitions of good but those of truth are meant, for, as stated above, 'Midianites' means those in whom the truth that partners simple good is present. For the same reason they are called 'men', since the expression 'men' is used of those who possess truth, 3134, 3309. From the historical chain of events described here it is plain that Joseph was sold to Ishmaelites, but that he was drawn out of the pit by Midianites and was also sold by the Midianites to Potiphar in Egypt; for it is said in the final verse of this chapter, 'And the Midianites sold him into Egypt to Potiphar, Pharaoh's bedchamber-servant'. One would think that because Joseph was sold to the Ishmaelites that these, not the Midianites, would be the ones to sell him in Egypt. But things happened the way they did for the sake of the representation of what is contained in the internal sense. 'Joseph', that is, Divine Truth, cannot be sold by those governed by good, only by those governed by the truth partnering that good. The reason for this will be seen in the explanation of the final verse of this chapter.