Can you lose your salvation XIII
John 10
Verily, verily, I say unto you, He that entereth not by the door into the sheepfold, but climbeth up some other way, the same is a thief and a robber. But he that entereth in by the door is the shepherd of the sheep.
And it was at Jerusalem the feast of the dedication, and it was winter. And Jesus walked in the temple in Solomon's porch. Then came the Jews round about him, and said unto him, How long dost thou make us to doubt? If thou be the Christ, tell us plainly. Jesus answered them, I told you, and ye believed not: the works that I do in my Father's name, they bear witness of me. But ye believe not, because ye are not of my sheep, as I said unto you. My sheep hear my voice, and I know them, and they follow me: And I give unto them eternal life; and they shall never perish, neither shall any man pluck them out of my hand. My Father, which gave them me, is greater than all; and no man is able to pluck them out of my Father's hand. I and my Father are one.
John 17
Judas is spoken in the same context that Jesus kept them all except Judas. Jesus called Judas just like the other ones. John 10 is saying that no one else can take your salvation from you or tell you what you trust. John 17 is showing that you yourself can deny Jesus and walk away yourself.