"The messengers of the cross must arm themselves with watchfulness and prayer, and move forward in faith and courage, working always in the name of Jesus. They must have confidence in their Leader; for troublous times are before us. The judgments of God are abroad in the land. Calamities follow one another in rapid succession. Soon God is to rise out of His place to shake terribly the earth, and to punish the wicked for their iniquity. Then He will stand up in behalf of His people, and will give them His protecting care. He will throw His everlasting arms about them, to shield them from all harm. GW 264.4"
"Praying always with all prayer and supplication in the Spirit, and watching thereunto with all perseverance and supplication for all saints;"
Both passages emphasize the importance of prayer and watchfulness, especially in the face of challenges. EGW connects this to the end times and God's protection, while Ephesians 6:18 focuses on persevering in prayer for all saints.
"God is our refuge and strength, a very present help in trouble."
Both passages speak of God as a refuge and help in times of trouble. The EGW passage expands on this theme by describing the specific troubles and God's protective care.
"For, behold, the Lord cometh out of his place to punish the inhabitants of the earth for their iniquity: the earth also shall disclose her blood, and shall no more cover her slain."
The EGW passage directly alludes to the idea of God coming out of His place to punish the wicked, which is a central theme in Isaiah 26:21. The phrase 'God is to rise out of His place to shake terribly the earth, and to punish the wicked for their iniquity' is a clear echo of the Isaiah verse.