Then (v 45), he shows that they do not have zeal for Moses. First, how Moses was against them. Secondly, he gives the reason for this opposition (v 46). As to the first he does two things. First, he rejects their false zeal; secondly, he shows them true zeal, The one who accuses you is Moses.
As to the first he says: Do not think that I will accuse you before my Father. There are three reasons for his saying this. First, the Son of God did not come into the world to condemn the world, but to save it. So he says, Do not think that I have come to condemn, I have come to free: "God did not send ...his Son into the world to judge the world," that is, to condemn the world, "but that the world might be saved through him" (above 3:17). And so the blood of Christ cries out, not to accuse, but to forgive: "We have the blood of Christ, crying out better than that of Abel" (Heb 12:24), whose blood cried out to accuse; "Who will accuse God's elect? It is Christ who justifies. Who is it, then, who will condemn?" (Rom 8:33). As to his second reason for saying this, he says: Do not think that I will accuse you before my Father, because I will not be the one to accuse you, but to judge you: "The Father has given all judgment to the Son" (above 5:22). The third reason is: Do not think that I, i.e., I alone, will accuse you before my Father for what you are doing to me; for even Moses will accuse you for not believing him in the things he said of me.
Consequently he adds: The one who accuses you is Moses, in whom you place your trust, because you believe you are saved through his precepts. Moses accuses them in two ways. Materially, because they deserved to be accused for transgressing his commands: "Those who have sinned under the law, will be judged by the law" (Rom 2:12). Again, Moses accuses them because he and the other saints will have authority in the judgment: "The two-edged swords will be in their hands" (Ps 149:6).
Source: Commentary on John