"But quickly the scene changed. The mob started up. The Roman soldiers, the priests and Judas, gathered about Christ. They seemed ashamed of their weakness, and fearful that He would yet escape. Again the question was asked by the Redeemer, “Whom seek ye?” They had had evidence that He who stood before them was the Son of God, but they would not be convinced. To the question, “Whom seek ye?” again they answered, “Jesus of Nazareth.” The Saviour then said, “I have told you that I am He: if therefore ye seek Me, let these go their way”—pointing to the disciples. He knew how weak was their faith, and He sought to shield them from temptation and trial. For them He was ready to sacrifice Himself. DA 695.1"
"Jesus answered, I have told you that I am he: if therefore ye seek me, let these go their way:"
The EGW passage directly recounts and expands upon the event described in John 18:8, including the statement 'if therefore ye seek me, let these go their way'.
"Judas the betrayer did not forget the part he was to act. When the mob entered the garden, he had led the way, closely followed by the high priest. To the pursuers of Jesus he had given a sign, saying, “Whomsoever I shall kiss, that same is He: hold Him fast.” Matthew 26:48 . Now he pretends to have no part with them. Coming close to Jesus, he takes His hand as a familiar friend. With the words, “Hail, Master,” he kisses Him repeatedly, and appears to weep as if in sympathy with Him in His peril. DA 695.2"
"Now he that betrayed him gave them a sign, saying, Whomsoever I shall kiss, that same is he: hold him fast."
The EGW passage directly quotes and elaborates on the sign Judas gave to betray Jesus, as described in Matthew 26:48.