"This chapter is based on Genesis 41:54-56 ; 42 to 50 . At the very opening of the fruitful years began the preparation for the approaching famine. Under the direction of Joseph, immense storehouses were erected in all the principal places throughout the land of Egypt, and ample arrangements were made for preserving the surplus of the expected harvest. The same policy was continued during the seven years of plenty, until the amount of grain laid in store was beyond computation. PP 224.1 And now the seven years of dearth began to come, according to Joseph's prediction. “And the dearth was in all lands; but in all the land of Egypt there was bread. And when all the land of Egypt was famished, the people cried to Pharaoh for bread: and Pharaoh said unto all the Egyptians, Go unto Joseph; what he saith to you, do. And the famine was over all the face of the earth: and Joseph opened all the storehouses, and sold unto the Egyptians.” PP 224"
"And the seven years of dearth began to come, according as Joseph had said: and the dearth was in all lands; but in all the land of Egypt there was bread. And when all the land of Egypt was famished, the people cried to Pharaoh for bread: and Pharaoh said unto all the Egyptians, Go unto Joseph; what he saith to you, do. And the famine was over all the face of the earth: And Joseph opened all the storehouses, and sold unto the Egyptians; and the famine waxed sore in the land of Egypt."
Ellen White directly references Genesis 41:54-56 in this passage.
The famine extended to the land of Canaan and was severely felt in that part of the country where Jacob dwelt. Hearing of the abundant provision made by the king of Egypt, ten of Jacob's sons journeyed thither to purchase grain. On their arrival they were directed to the king's deputy, and with other applicants they came to present themselves before the ruler of the land. And they “bowed down themselves before him with their faces to the earth.” “Joseph knew his brethren, but they knew not him.” His Hebrew name had been exchanged for the one bestowed upon him by the king, and there was little resemblance between the prime minister of Egypt and the stripling whom they had sold to the Ishmaelites. As Joseph saw his brothers stooping and making obeisance, his dreams came to his mind, and the scenes of the past rose vividly before him. His keen eye, surveying the group, discovered that Benjamin was not among them. Had he also fallen a victim to the treacherous cruelty of those savage men? …
"And Joseph was the governor over the land, and he it was that sold to all the people of the land: and Joseph’s brethren came, and bowed down themselves before him with their faces to the earth."
The EGW passage directly quotes and elaborates on the Genesis verse, providing context and interpretation of the scene.