Before the family of Jacob was even presented to Pharaoh, Joseph coached his brothers on what to say. The Targum Pseudo-Jonathan on (Genesis 46:34) records his instruction: say you have been "masters of flocks from our youth until now," so that you may dwell in Goshen, "because the Mizraee reject all shepherds."
On its surface this is simple social advice. Egyptian society, according to the Torah, treated shepherding as an abomination — to'evah. What looks like a cultural footnote is actually Joseph's masterstroke of strategy.
The Hidden Political Logic
Joseph knew his family could not survive in downtown Egypt. The sacred hierarchy of Egyptian life — with its ram-headed and bull-headed deities — made shepherds a caste apart. The Egyptians treated the slaughtering and eating of animals that they regarded as holy as something vulgar. A shepherd in Pharaoh's court would have been offensive on a religious level.
So Joseph weaponized the prejudice. He told his brothers to announce their trade loudly and proudly. The result was exactly what he wanted: Pharaoh immediately assigned them to Goshen, a pasture region at the eastern edge of the Delta, far from the centers of Egyptian religious life. There, among their flocks, they could raise their children as Israelites rather than as apprentices to the priestly class of On.
Separation as Preservation
The Targum Pseudo-Jonathan, composed in its final form between the 4th and 8th centuries CE, is blunt about the calculus. Egyptian contempt for shepherds was the very tool that preserved the Israelites' distinct identity for four centuries. Had they been welcomed into Memphis and Thebes, they would have assimilated. Rejected from the cities, they multiplied in their own quarter — and when the time came for Moses to lead them out, there was still an "Israel" to lead.
The same logic runs through much of Jewish history. Every ghetto wall, every closed guild, every mercantile restriction that looked like exclusion turned out, in the rear-view mirror, to have been a container that preserved the people until the next chapter. <a href='/categories/midrash-rabbah.html'>Midrash Rabbah</a> elaborates this same reading in Bereishit Rabbah 95.
The takeaway is uncomfortable and honest. Sometimes the world's contempt is the corridor through which a people walks to its future. Joseph did not ask his brothers to hide who they were. He asked them to announce it — and used the announcement as the door to Goshen.