"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"
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.
Genesis 46:29"And Joseph made ready his chariot, and went up to meet Israel his father, to Goshen, and presented himself unto him; and he fell on his neck, and wept on his neck a good while."
"Another striking point in the character of Joseph, worthy of imitation by all youth, is his deep filial reverence. As he meets his father with tears streaming from his eyes, he hangs upon his neck in an affectionate, loving embrace. He seems to feel that he cannot do enough for his parent's comfort and watches over his declining years with a love as tender as a mother's. No pains is spared to show his respect and love upon all occasions. Joseph is an example of what a youth should be. Love manifested for your mother would disclose a beautiful trait of character such as God would approve. 5T 124.2"
The EGW passage directly describes the scene in Genesis 46:29, elaborating on the emotions and filial piety displayed by Joseph. It's more than a thematic parallel; it's a direct reference used to illustrate a point.