"Humbled in the sight of the nations, those who once had been recognized as favored of Heaven above all other peoples of the earth were to learn in exile the lesson of obedience so necessary for their future happiness. Until they had learned this lesson, God could not do for them all that He desired to do. “I will correct thee in measure, and will not leave thee altogether unpunished,” He declared in explanation of His purpose to chastise them for their spiritual good. Jeremiah 30:11 . Yet those who had been the object of His tender love were not forever set aside; before all the nations of earth He would demonstrate His plan to bring victory out of apparent defeat, to save rather than to destroy. To the prophet was given the message: PK 475.1"
"For I am with thee, saith the Lord, to save thee: though I make a full end of all nations whither I have scattered thee, yet will I not make a full end of thee: but I will correct thee in measure, and will not leave thee altogether unpunished."
Ellen White directly references Jeremiah 30:11 in this passage.
"For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth."
Both passages discuss chastisement as an expression of God's love and a means of correction. While Hebrews 12:6 is a more general statement, the EGW passage applies it specifically to Israel's exile, providing context and application.
"“He that scattered Israel will gather him, and keep him, as a shepherd doth his flock. For the Lord hath redeemed Jacob, and ransomed him from the hand of him that was stronger than he. Therefore they shall come and sing in the height of Zion, and shall flow together to the goodness of the Lord, for wheat, and for wine, and for oil, and for the young of the flock and of the herd: and their soul shall be as a watered garden; and they shall not sorrow any more at all.... I will turn their mourning into joy, and will comfort them, and make them rejoice from their sorrow. And I will satiate the soul of the priests with fatness, and My people shall be satisfied with My goodness, saith the Lord.” PK 475.2"
"And the ransomed of the Lord shall return, and come to Zion with songs and everlasting joy upon their heads: they shall obtain joy and gladness, and sorrow and sighing shall flee away."
Both passages speak of the ransomed returning to Zion with joy and the removal of sorrow. The EGW passage, quoting Jeremiah, echoes the sentiment and imagery found in Isaiah 35:10, creating a clear thematic parallel.
"The Lord is my shepherd; I shall not want."
While the EGW passage quotes Jeremiah extensively, the phrase 'shepherd doth his flock' evokes the imagery of Psalm 23:1. The connection is thematic, focusing on God's care and provision for His people, but not a direct quote or explicit allusion.