The reason for their unbelief is that they are separated from Christ's sheep. So he says, but you do not believe, because you do not belong to my sheep. He does three things concerning this. First, he says that they are excluded from membership in the sheep of Christ; secondly, he shows the dignity of his sheep (v 27); thirdly, he proves that no one will snatch his sheep out of his hands (v 29).
He mentions that they are not among his sheep when he says, you do not belong to my sheep, i.e., you are not predestined to believe, but foreknown to eternal destruction. For the very fact that we bel...ieve is due to God: "For it has been granted to you that for the sake of Christ you should not only believe in him but also suffer for his sake" (Phil 1:29); "For by grace you have been saved through faith; and this is not your own doing, it is the gift of God" (Eph 2:8). And this is given only to those for whom it was prepared from eternity; thus, only those believe in him who have been ordained to this by God through an eternal predestination: "As many as were ordained to eternal life believed" (Acts 13:48); "We believe that we shall be saved through the grace of the Lord Jesus" (Acts 15:11).
But should anyone be told that he is not predestined? It seems that he should not be told: for since no one can be saved unless he is predestined, if one is told that he is not predestined, he would be driven to despair. And so our Lord was driving the Jews to despair when he said to them, you do not believe, because you do not belong to my sheep. My answer to this is that in this group there was something common to all, that is, they were not preordained by God to believe at that time; and there was also something special, that is, some of them were preordained to believe later. Thus, some of them did believe later, for we read in Acts (c 2) that three thousand of them believed in one day. But some were not preordained to do this. Therefore, it did not militate against hope to say to a group, some of whom were preordained to believe later, that they did not belong to his sheep, because no one of them could apply this definitely to himself. But it would militate against hope if Christ had said this to some definite person.
Source: Commentary on John