Excerpt from W Scott Taylor:
The important nuances of Greek syntax is evidenced here and seriously undermines the traditional view of Judas’ being either foreordained or foreknown to betray Jesus…
“And one of you is a devil.” Jesus does not say that Judas was a devil when he chose him, but that he is one now. In 13:2 and 27 John speaks of the devil entering Judas. How soon the plan to betray Jesus first entered the heart of Judas we do not know (12:4). One wonders if the words of Jesus did not cut Judas to the quick.”
…
This should be a relief to those who have wondered how in the world Jesus’ betrayal could have anything to do with God’s plan of Salvation.
To read more, click the link.