In pronouncing the woe upon Judas, Christ also had a purpose of mercy toward His disciples. He thus gave them the crowning evidence of His Messiahship. “I tell you before it come,” He said, “that, when it is come to pass, ye may believe that I AM.” Had Jesus remained silent, in apparent ignorance of what was to come upon Him, the disciples might have thought that their Master had not divine foresight, and had been surprised and betrayed into the hands of the murderous mob. A year before, Jesus had told the disciples that He had chosen twelve, and that one was a devil. Now His words to Judas, showing that his treachery was fully known to his Master, would strengthen the faith of Christ's true followers during His humiliation. And when Judas should have come to his dreadful end, they would remember the woe that Jesus had pronounced upon the betrayer. DA 655.2 And the Saviour had still another purpose. He had not withheld His ministry from him whom He knew to be a traitor. The disciples d…
"Now I tell you before it come, that, when it is come to pass, ye may believe that I am he."
The EGW passage directly quotes John 13:19 and explains its purpose in strengthening the disciples' faith.
"Though Jesus knew Judas from the beginning, He washed his feet. And the betrayer was privileged to unite with Christ in partaking of the sacrament. A long-suffering Saviour held out every inducement for the sinner to receive Him, to repent, and to be cleansed from the defilement of sin. This example is for us. When we suppose one to be in error and sin, we are not to divorce ourselves from him. By no careless separation are we to leave him a prey to temptation, or drive him upon Satan's battleground. This is not Christ's method. It was because the disciples were erring and faulty that He washed their feet, and all but one of the twelve were thus brought to repentance. DA 655.4"
"Jesus saith to him, He that is washed needeth not save to wash his feet, but is clean every whit: and ye are clean, but not all."
The EGW passage directly references the event of Jesus washing the disciples' feet, including Judas, and explicitly alludes to the phrase 'ye are clean, but not all' by stating 'all but one of the twelve were thus brought to repentance.' The context and details align closely with the biblical narrative.