Genesis 46:31-34
31 And Joseph said unto his brethren, and unto his father's house, I will go up, and shew Pharaoh, and say unto him, My brethren, and my father's house, which were in the land of Canaan, are come unto me;
32 And the men are shepherds, for their trade hath been to feed cattle; and they have brought their flocks, and their herds, and all that they have.
33 And it shall come to pass, when Pharaoh shall call you, and shall say, What is your occupation?
34 That ye shall say, Thy servants' trade hath been about cattle from our youth even until now, both we, and also our fathers: that ye may dwell in the land of Goshen; for every shepherd is an abomination unto the Egyptians.
I will go up and show Pharaoh. After Joseph had gone forth to meet his father for the purpose of doing him honour, he also provides what will be useful for him. On this account, he advises Jacob to declare that he and all his family were keepers of cattle, to the end that he might obtain, from the king, a dwelling-place for them, in the land of Goshen. Now although his moderation deserves commendation on the ground, that he usurps no authority to himself, but that, as one of the common people, he waits the pleasure of the king: he yet may be thought craftily to have devised a pretext, by which he might circumvent the king. We see what he desired. Seeing that the land of Goshen was fertile, and celebrated for its rich pastures; this advantage so allured his mind, that he wished to fix his father there: but then, keeping out of Pharaoh’s sight the richness of the land, he puts forth another reason; namely, that jacob with his sons, were men held in abomination, and that, therefore, he was seeking a place of seclusion, in which they might dwell apart from the Egyptians. It is not, however, very difficult to untie this knot. The fertility of the land of Goshen was so fully known to the king, that no room was left for fraud or cunning, (though kings are often too profuse, and foolishly waste much, because they know not what they grant,) yea, Pharaoh, of his own accord, had offered them, unsolicited, the best and choicest place in the kingdom. Therefore this bounty of his was not elicited from him by stratagem; because he was free to form his own judgment respecting what he would give. And truly Joseph, in order that he might act modestly, felt it necessary to seek a habitation in Goshen, on this pretext. For it would have been absurd, or at least inconsiderate, for men who were obscure and strangers, to desire an abode in the best and most convenient place for themselves, as if they possessed a right to choose for themselves. Joseph, therefore, having regard to his own modesty and that of his father, adduces another cause which was yet a true one. For seeing that the Egyptians held the occupation of shepherds in abhorrence, he explains to the king that this would be a suitable retreat for his brethren. Herein was no dissimulation, because, in no other place, was a quiet habitation accessible to them. Nevertheless, though it was hard for the holy Fathers to be thus opprobriously rejected, and, as it were, to be loathed by a whole nation; yet this ignominy with which they were branded, was most profitable to themselves. For, had they been mingled with the Egyptians, they might have been scattered far and wide; but now, seeing that they are objects of detestation, and are thought unworthy to be admitted to common society, they learn, in this state of separation from others, to cherish more fervently mutual union between themselves; and thus the body of the Church, which God had set apart from the whole world, is not dispersed. So the Lord often permits us to be despised or rejected by the world, that being liberated and cleansed from its pollution, we may cultivate holiness. Finally, he does not suffer us to be bound by chains to the earth, in order that we may be borne upward to heaven.
— John Calvin (1509-1564)