John 6:71
Now he spake of Judas the son of Simon Iscariot, for he it was that should betray him, being one of the twelve.—It was not yet known among the disciples or even Judas that he would betray him. The apostle John writing this years afterward told that Judas was the man whom Jesus knew from the beginning possessed a demon and would betray him.
[Peter having made this confession for himself and the rest of the apostles that they would not depart from Jesus whom they believed to be the true Messiah, the Son of the living God; Christ intimates to Peter that his charity was something too large in promising so much for them all; for there was one traitor among them whose heart was as open to Christ as his face was to them. He meant it of Judas, of whose treachery he gave them warning at this time. Jesus knew Judas was a hypocrite at this time, but did not rebuke Peter for having a better opinion of him than he deserved.]