Genesis 47:3-8 New King James Version (NKJV)

3. Then Pharaoh said to his brothers, “What is your occupation?”And they said to Pharaoh, “Your servants are shepherds, both we and also our fathers.”

4. And they said to Pharaoh, “We have come to dwell in the land, because your servants have no pasture for their flocks, for the famine is severe in the land of Canaan. Now therefore, please let your servants dwell in the land of Goshen.”

5. Then Pharaoh spoke to Joseph, saying, “Your father and your brothers have come to you.

6. The land of Egypt is before you. Have your father and brothers dwell in the best of the land; let them dwell in the land of Goshen. And if you know any competent men among them, then make them chief herdsmen over my livestock.”

7. Then Joseph brought in his father Jacob and set him before Pharaoh; and Jacob blessed Pharaoh.

8. Pharaoh said to Jacob, “How old are you?”

Genesis 47