"As in the days of Shadrach, Meshach, and Abednego, so in the closing period of earth's history the Lord will work mightily in behalf of those who stand steadfastly for the right. He who walked with the Hebrew worthies in the fiery furnace will be with His followers wherever they are. His abiding presence will comfort and sustain. In the midst of the time of trouble—trouble such as has not been since there was a nation—His chosen ones will stand unmoved. Satan with all the hosts of evil cannot destroy the weakest of God's saints. Angels that excel in strength will protect them, and in their behalf Jehovah will reveal Himself as a “God of gods,” able to save to the uttermost those who have put their trust in Him. PK 513.1"
"He answered and said, Lo, I see four men loose, walking in the midst of the fire, and they have no hurt; and the form of the fourth is like the Son of God."
The EGW passage directly references the story of Shadrach, Meshach, and Abednego and explicitly mentions the figure who appeared in the fiery furnace, directly alluding to Daniel 3:25.
"Teaching them to observe all things whatsoever I have commanded you: and, lo, I am with you alway, even unto the end of the world. Amen."
The EGW passage speaks of God's abiding presence and support for His followers, which echoes the promise of Jesus in Matthew 28:20 to be with His followers always. While not a direct quote, the theme of God's constant presence is strongly paralleled.
"For he shall give his angels charge over thee, to keep thee in all thy ways."
The EGW passage mentions angels protecting God's saints, which aligns with the theme of angelic protection found in Psalm 91:11. The connection is thematic rather than a direct quote or explicit allusion.