Next, we see the kindly way Christ dispelled their difficulty. First, he takes notice of it; secondly, he removes its cause (v 63); and thirdly, he mentions what the cause was (v 65).
He had noticed that they were scandalized because they had said, although privately, so he could not hear, This is a hard saying! But Christ, who in virtue of his divinity knew that they had said this, mentions it. And this is what he says: But Jesus, knowing in himself, what they said within themselves, that is, that his disciples were grumbling about this — "He did not need anyone to give him testimony about m...en. He was well aware of what was in man's heart" (Jn 2:25); "God searches into the hearts and loins of men" (Ps 7:10) — said to them, Does this scandalize you? As if to say: You should not be scandalized at this. Or, it can be understood less strongly, as meaning: I know that you are scandalized at this. "He will be our sanctification," i.e., those who believe in Christ, but "a stumbling-stone to the two houses of Israel," to the grumbling disciples and the crowds (Is 8:4).
But since teachers should avoid creating difficulties for those who are listening to them, why did our Lord mention those things that would upset the people and have them leave? I answer that Christ had to mention such things because his teaching required it. For they had pleaded with him for material food, when he had come to strengthen their desire for spiritual food; and so he had to make known to them his teaching on spiritual food.
Nevertheless, their difficulty was not caused by any defect in what Christ was teaching, but by their own unbelief. For if they had not understood what our Lord was saying, because of their own earthly mindedness, they could have questioned him, as the apostles had done in similar circumstances. According to Augustine, however, our Lord purposely permitted this situation, to give teachers a reason for consolation and patience with those who belittle what they say, since even the disciples presumed to disparage what Christ said.
Source: Commentary on John