"Shadrach, Meshach, and Abed–nego, answered and said to the king, O Nebuchadnezzar, we are not careful to answer thee in this matter. If it be so, our God whom we serve is able to deliver us from the burning fiery furnace, and he will deliver us out of thine hand, O king. But if not, be it known unto thee, O king, that we will not serve thy gods, nor worship the golden image which thou hast set up."
The EGW passage echoes the unwavering commitment to God demonstrated by Shadrach, Meshach, and Abednego in the face of persecution. Both emphasize standing firm for God's word and honor, even when facing dire consequences.
"Behind the lofty bulwarks of the mountains—in all ages the refuge of the persecuted and oppressed—the Waldenses found a hiding place. Here the light of truth was kept burning amid the darkness of the Middle Ages. Here, for a thousand years, witnesses for the truth maintained the ancient faith. GC 65.3"
"God is our refuge and strength, a very present help in trouble."
Both passages use the concept of refuge in times of trouble. The Psalm speaks of God as a refuge, while the EGW passage describes the mountains as a refuge for the Waldenses. The connection is that God provides refuge, whether directly or through natural features.
"(Of whom the world was not worthy:) they wandered in deserts, and in mountains, and in dens and caves of the earth."
Both passages refer to people seeking refuge in mountains and other remote places due to persecution. Hebrews 11:38 speaks generally of those who wandered in such places, while the EGW passage specifically mentions the Waldenses. The shared theme of seeking refuge in mountainous regions connects the two.