Genesis 46:32-34 New King James Version (NKJV)

32. And the men are shepherds, for their occupation has been to feed livestock; and they have brought their flocks, their herds, and all that they have.’

33. So it shall be, when Pharaoh calls you and says, ‘What is your occupation?’

34. that you shall say, ‘Your servants’ occupation has been with livestock from our youth even till now, both we and also our fathers,’ that you may dwell in the land of Goshen; for every shepherd is an abomination to the Egyptians.”

Genesis 46