"Every ear was bent to listen, and every eye was fixed on His face as He answered, “Thou hast said.” A heavenly light seemed to illuminate His pale countenance as He added, “Nevertheless I say unto you, Hereafter shall ye see the Son of man sitting on the right hand of power, and coming in the clouds of heaven.” DA 707.1"
"Jesus saith unto him, Thou hast said: nevertheless I say unto you, Hereafter shall ye see the Son of man sitting on the right hand of power, and coming in the clouds of heaven."
EGW directly quotes Matthew 26:64.
"For a moment the divinity of Christ flashed through His guise of humanity. The high priest quailed before the penetrating eyes of the Saviour. That look seemed to read his hidden thoughts, and burn into his heart. Never in afterlife did he forget that searching glance of the persecuted Son of God. DA 707.2"
"For the word of God is quick, and powerful, and sharper than any twoedged sword, piercing even to the dividing asunder of soul and spirit, and of the joints and marrow, and is a discerner of the thoughts and intents of the heart."
The EGW passage describes Jesus's penetrating gaze reading the high priest's thoughts, which thematically aligns with Hebrews 4:12 describing the word of God as a discerner of thoughts and intents. While not a direct quote, the concept of discerning hidden thoughts connects the two.
"“Hereafter,” said Jesus, “shall ye see the Son of man sitting on the right hand of power, and coming in the clouds of heaven.” In these words Christ presented the reverse of the scene then taking place. He, the Lord of life and glory, would be seated at God's right hand. He would be the judge of all the earth, and from His decision there could be no appeal. Then every secret thing would be set in the light of God's countenance, and judgment be passed upon every man according to his deeds. DA 707.3"
"Jesus saith unto him, Thou hast said: nevertheless I say unto you, Hereafter shall ye see the Son of man sitting on the right hand of power, and coming in the clouds of heaven."
EGW directly quotes Matthew 26:64.
"And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works."
Both passages discuss judgment according to deeds. The EGW passage speaks of every secret thing being set in the light and judgment passed according to deeds, while Revelation 20:12 describes the dead being judged out of the books according to their works. The theme of judgment based on deeds connects the two.