"Judas decided to put the matter to the test. If Jesus really was the Messiah, the people, for whom He had done so much, would rally about Him, and would proclaim Him king. This would forever settle many minds that were now in uncertainty. Judas would have the credit of having placed the king on David's throne. And this act would secure to him the first position, next to Christ, in the new kingdom. DA 721.1"
"When Jesus therefore perceived that they would come and take him by force, to make him a king, he departed again into a mountain himself alone."
The EGW passage suggests Judas hoped Jesus would be proclaimed king, which connects to the event in John 6:15 where the people wanted to make Jesus king by force. Both passages deal with the idea of Jesus becoming king, although from different perspectives.
"Jewish rulers. At every movement he looked for Him to surprise His enemies, by appearing before them as the Son of God, and setting at nought all their plots and power. But as hour after hour went by, and Jesus submitted to all the abuse heaped upon Him, a terrible fear came to the traitor that he had sold his Master to His death. DA 721.3 As the trial drew to a close, Judas could endure the torture of his guilty conscience no longer. Suddenly a hoarse voice rang through the hall, sending a thrill of terror to all hearts: He is innocent; spare Him, O Caiaphas! DA 721.4"
"Saying, I have sinned in that I have betrayed the innocent blood. And they said, What is that to us? see thou to that."
The EGW passage directly recounts Judas's statement in Matthew 27:4, making it an explicit allusion.
"The tall form of Judas was now seen pressing through the startled throng. His face was pale and haggard, and great drops of sweat stood on his forehead. Rushing to the throne of judgment, he threw down before the high priest the pieces of silver that had been the price of his Lord's betrayal. Eagerly grasping the robe of Caiaphas, he implored him to release Jesus, declaring that He had done nothing worthy of death. Caiaphas angrily shook him off, but was confused, and knew not what to say. The perfidy of the priests was revealed. It was evident that they had bribed the disciple to betray his Master. DA 721.5"
"Then Judas, which had betrayed him, when he saw that he was condemned, repented himself, and brought again the thirty pieces of silver to the chief priests and elders, Saying, I have sinned in that I have betrayed the innocent blood. And they said, What is that to us? see thou to that."
The EGW passage directly recounts and expands upon the events described in Matthew 27:3-4, making it a clear explicit allusion.
"And I said unto them, If ye think good, give me my price; and if not, forbear. So they weighed for my price thirty pieces of silver. And the Lord said unto me, Cast it unto the potter: a goodly price that I was prised at of them. And I took the thirty pieces of silver, and cast them to the potter in the house of the Lord."
Both passages involve the thirty pieces of silver. Zechariah is a prophecy that is fulfilled in Matthew. EGW's passage is an expansion of the Matthew account, which alludes to Zechariah. Thus, there is a thematic parallel.