"In his childhood, Joseph had been taught the love and fear of God. Often in his father's tent, under the Syrian stars, he had been told the story of the night vision at Bethel, of the ladder from heaven to earth, and the descending and ascending angels, and of Him who from the throne above revealed Himself to Jacob. He had been told the story of the conflict beside the Jabbok, when, renouncing cherished sins, Jacob stood conqueror, and received the title of a prince with God. Ed 52.1"
"And he dreamed, and behold a ladder set up on the earth, and the top of it reached to heaven: and behold the angels of God ascending and descending on it."
The EGW passage explicitly mentions the 'night vision at Bethel, of the ladder from heaven to earth, and the descending and ascending angels,' which is a direct reference to Genesis 28:12.
"And Jacob was left alone; and there wrestled a man with him until the breaking of the day. And when he saw that he prevailed not against him, he touched the hollow of his thigh; and the hollow of Jacob’s thigh was out of joint, as he wrestled with him. And he said, Let me go, for the day breaketh. And he said, I will not let thee go, except thou bless me. And he said unto him, What is thy name? And he said, Jacob. And he said, Thy name shall be called no more Jacob, but Israel: for as a prince hast thou power with God and with men, and hast prevailed."
The EGW passage explicitly mentions 'the conflict beside the Jabbok' and Jacob receiving the title 'a prince with God,' which are direct references to Genesis 32:24-28.
"A shepherd boy, tending his father's flocks, Joseph's pure and simple life had favored the development of both physical and mental power. By communion with God through nature and the study of the great truths handed down as a sacred trust from father to son, he had gained strength of mind and firmness of principle. Ed 52.2 In the crisis of his life, when making that terrible journey from his childhood home in Canaan to the bondage which awaited him in Egypt, looking for the last time on the hills that hid the tents of his kindred, Joseph remembered his father's God. He remembered the lessons of his childhood, and his soul thrilled with the resolve to prove himself true—ever to act as became a subject of the King of heaven. Ed 52.3"
"These are the generations of Jacob. Joseph, being seventeen years old, was feeding the flock with his brethren; and the lad was with the sons of Bilhah, and with the sons of Zilpah, his father’s wives: and Joseph brought unto his father their evil report."
Both passages refer to Joseph as a shepherd boy tending his father's flocks. The EGW passage elaborates on the impact of this experience on Joseph's development, drawing a clear connection to the biblical narrative.
"In the bitter life of a stranger and a slave, amidst the sights and sounds of vice and the allurements of heathen worship, a worship surrounded with all the attractions of wealth and culture and the pomp of royalty, Joseph was steadfast. He had learned the lesson of obedience to duty. Faithfulness in every station, from the most lowly to the most exalted, trained every power for highest service. Ed 52.4"
"But Daniel purposed in his heart that he would not defile himself with the portion of the king’s meat, nor with the wine which he drank: therefore he requested of the prince of the eunuchs that he might not defile himself."
Both passages highlight the faithfulness and steadfastness of Joseph and Daniel respectively, in resisting the temptations and pressures of a foreign, often immoral, environment. While the specific temptations differ, the underlying principle of unwavering commitment to God is shared.