"And they were in the way going up to Jerusalem; and Jesus went before them: and they were amazed; and as they followed, they were afraid. And he took again the twelve, and began to tell them what things should happen unto him,"
The EGW passage directly quotes and alludes to Mark 10:32. The phrase is nearly identical, indicating a clear connection.
"Again Christ called the twelve about Him, and with greater definiteness than ever before, He opened to them His betrayal and sufferings. “Behold,” He said, “we go up to Jerusalem, and all things that are written by the prophets concerning the Son of man shall be accomplished. For He shall be delivered unto the Gentiles, and shall be mocked, and spitefully entreated, and spitted on: and they shall scourge Him, and put Him to death: and the third day He shall rise again. And they understood none of these things: and this saying was hid from them, neither knew they the things which were spoken.” DA 547.2"
"Then he took unto him the twelve, and said unto them, Behold, we go up to Jerusalem, and all things that are written by the prophets concerning the Son of man shall be accomplished. For he shall be delivered unto the Gentiles, and shall be mocked, and spitefully entreated, and spitted on: And they shall scourge him, and put him to death: and the third day he shall rise again. And they understood none of these things: and this saying was hid from them, neither knew they the things which were spoken."
The EGW passage directly quotes Luke 18:31-34, making it a clear explicit allusion.
"Had they not just before proclaimed everywhere, “The kingdom of heaven is at hand”? Had not Christ Himself promised that many should sit down with Abraham and Isaac and Jacob in the kingdom of God? Had He not promised to all who had left aught for His sake a hundredfold in this life, and a part in His kingdom? And had He not given to the twelve the special promise of positions of high honor in His kingdom,—to sit on thrones judging the twelve tribes of Israel? Even now He had said that all things written in the prophets concerning Him should be fulfilled. And had not the prophets foretold the glory of the Messiah's reign? In the light of these thoughts, His words in regard to betrayal, persecution, and death seemed vague and shadowy. Whatever difficulties might intervene, they believed that the kingdom was soon to be established. DA 547.3"
"And Jesus said unto them, Verily I say unto you, That ye which have followed me, in the regeneration when the Son of man shall sit in the throne of his glory, ye also shall sit upon twelve thrones, judging the twelve tribes of Israel."
The EGW passage refers to the promise of the disciples sitting on thrones judging the twelve tribes of Israel, which is directly stated in Matthew 19:28.