"Even when Jesus Himself was upon earth, and walked with and taught His disciples, there was one among the twelve who was a devil. Judas betrayed his Lord. Christ had a perfect knowledge of the life of Judas. He knew of the covetousness which Judas did not overcome, and in His sermons to others He gave him many lessons upon this subject. Through indulgence, Judas permitted this trait in his character to grow and take so deep a root that it crowded out the good seed of truth sown in his heart; evil predominated until, for love of money, he could sell his Lord for a few pieces of silver. 4T 41.1"
"Jesus answered them, Have not I chosen you twelve, and one of you is a devil?"
EGW directly alludes to Judas being a 'devil' among the twelve disciples, referencing the sentiment expressed in John 6:70.
"The fact that Judas was not right at heart, that he was so corrupted by selfishness and love of money that he was led to commit a great crime, is no evidence that there were not true Christians, genuine disciples of Christ, who loved their Saviour and tried to imitate His life and example, and to obey His teachings. 4T 41.2"
"Simon the Canaanite, and Judas Iscariot, who also betrayed him."
The EGW passage discusses Judas's betrayal and the existence of true disciples despite his actions, which is thematically linked to the mention of Judas Iscariot in Matthew 10:4 as the one who betrayed Jesus.
"I was shown that the fact that Judas was numbered among the twelve, with all his faults and defects of character, is an instructive lesson, one by the study of which Christians may be profited. When Judas was chosen by our Lord, his case was not hopeless. He had some good qualities. In his association with Christ in the work, by listening to His discourses, he had a favorable opportunity to see his wrongs, to become acquainted with his defects of character if he really desired to be a true disciple. He was even placed in a position by our Lord where he could have his choice either to develop his covetous disposition or to see and correct it. He carried the little means collected for the poor and for the necessary expenses of Christ and the disciples in their work of preaching. 4T 41.3"
"And supper being ended, the devil having now put into the heart of Judas Iscariot, Simon’s son, to betray him;"
The EGW passage elaborates on Judas's character flaws and opportunities for redemption, connecting to John 13:2 which mentions the devil putting the betrayal in Judas's heart. The connection lies in the shared topic of Judas's betrayal and the influences leading to it.