"Joseph took five of his brothers to present to Pharaoh and receive from him the grant of land for their future home. Gratitude to his prime minister would have led the monarch to honor them with appointments to offices of state; but Joseph, true to the worship of Jehovah, sought to save his brothers from the temptations to which they would be exposed at a heathen court; therefore he counseled them, when questioned by the king, to tell him frankly their occupation. The sons of Jacob followed this counsel, being careful also to state that they had come to sojourn in the land, not to become permanent dwellers there, thus reserving the right to depart if they chose. The king assigned them a home, as offered, in “the best of the land,” the country of Goshen. PP 233.2"
"And Pharaoh said unto his brethren, What is your occupation? And they said unto Pharaoh, Thy servants are shepherds, both we, and also our fathers."
EGW directly references and paraphrases Genesis 47:3.
"Not long after their arrival Joseph brought his father also to be presented to the king. The patriarch was a stranger in royal courts; but amid the sublime scenes of nature he had communed with a mightier Monarch; and now, in conscious superiority, he raised his hands and blessed Pharaoh. PP 233.3"
"And Joseph brought in Jacob his father, and set him before Pharaoh: and Jacob blessed Pharaoh."
The EGW passage directly refers to the event described in Genesis 47:7, where Jacob blesses Pharaoh.
"And without all contradiction the less is blessed of the better."
The EGW passage describes Jacob blessing Pharaoh, and Hebrews 7:7 states the greater blesses the lesser. While not a direct quote, the EGW passage illustrates the principle in Hebrews.
"years were in happy contrast to those that had preceded them. He saw in his sons evidence of true repentance; he saw his family surrounded by all the conditions needful for the development of a great nation; and his faith grasped the sure promise of their future establishment in Canaan. He himself was surrounded with every token of love and favor that the prime minister of Egypt could bestow; and happy in the society of his long-lost son, he passed down gently and peacefully to the grave. PP 233.4"
"I will go down with thee into Egypt; and I will also surely bring thee up again: and Joseph shall put his hand upon thine eyes."
Both passages describe Jacob's final years in Egypt, surrounded by Joseph's care and anticipating the future. While not a direct quote, the EGW passage expands on the themes present in Genesis 46:4.