Then when he says, you do what your father did, he draws his conclusion. It was like saying: from the fact that you do not do the works of Abraham, it follows that you have some other father whose works you are doing. A similar statement is made in Matthew (23:32): "Fill up, then, the measure of your fathers."
Then when he says, they said to him, we were not born of fornication, he shows that they do not take their origin from God, for since they knew from our Lord's words that he was not speaking of carnal descent, they turn to spiritual descent, saying, we were not born of fornication. Firs...t, they give their own opinion; secondly, our Lord rejects it (v 42).
According to some, the Jews are denying one thing and affirming another. They are denying that they were born of fornication. According to Origen, they said this tauntingly to Christ, with the unspoken suggestion that he was the product of adultery. It was like saying: we were not born of fornication as you were.
But it is better to say that the spiritual spouse of the soul is God: "I will betroth you to me forever" (Hos 2:19), and just as a bride is guilty of fornication when she admits a man other than her husband, so in Scripture Judea was said to be fornicating when she abandoned the true God and turned to idols: "For the land commits great harlotry by forsaking the Lord" (Hos 1:2). And so the Jews said: we were not born of fornication. It was like saying: although our mother, the synagogue, may now and then have departed from God and fornicated with idols, yet we have not departed or fornicated with idols: "We have not forgotten thee, or been false to thy covenant. Our heart has not turned back" (Ps 44:17); "But you, draw near hither, sons of the sorceress, offspring of the adulterer and the harlot" (Is 57:3). Further, they affirm that they are children of God; and this seems to follow from the fact that they did not believe that they were born of fornication. Thus they say, we have one Father, even God: "Have we not all one father?" (Mal 2:10); "And I thought you would call me, My Father" (Jer 3:19).
Source: Commentary on John