"Until Christ shall appear in the clouds of heaven with power and great glory, men will become perverse in spirit and turn from the truth to fables. The church will yet see troublous times. She will prophesy in sackcloth. But although she must meet heresies and persecutions, although she must battle with the infidel and the apostate, yet by the help of God she is bruising the head of Satan. The Lord will have a people as true as steel, and with faith as firm as the granite rock. They are to be His witnesses in the world, His instrumentalities to do a special, a glorious work in the day of His preparation. 4T 594.3"
"And they shall turn away their ears from the truth, and shall be turned unto fables."
The EGW passage directly echoes the language of 2 Timothy 4:4 regarding turning from truth to fables. This is more than a thematic parallel; it's a clear allusion.
"And then shall appear the sign of the Son of man in heaven: and then shall all the tribes of the earth mourn, and they shall see the Son of man coming in the clouds of heaven with power and great glory."
The EGW passage references Christ appearing in the clouds with power and great glory, which is a direct reference to Matthew 24:30.
"And I will give power unto my two witnesses, and they shall prophesy a thousand two hundred and threescore days, clothed in sackcloth."
Both passages refer to prophesying in sackcloth, representing a time of difficulty and repentance. While not a direct quote, the thematic connection is strong.