Chrysostom explains all this differently, and more clearly. First of all: If any one hears my sayings and does not keep them, I do not judge him. Now one is said to be condemned in two ways: either by a judge or by the reason for the condemnation. For a murderer is condemned to be hanged both by the judge who passes sentence and by the murder he committed, which is the reason for his condemnation. He says, I do not judge him, that is, I am not the reason for his condemnation, but he himself is: "Your destruction, O Israel is from yourself; your help is only in me" (Hos 13:9). And the reason is...: for I did not come to judge the world, that is, I was not sent to condemn but to save.
But will not such a person be judged? He certainly will, because he who rejects me and does not receive my sayings has a judge. He shows what that judge is when he says, the word that I have spoken, and you have heard, will be his accuser and will be his judge on the last day. "If I had not come and spoken to them, they would not have sin; but now they have no excuse for their sin" (15:22). He shows that the word that he spoke will judge them by saying, for I have not spoken of myself. This is not said causally, but in a material sense, so that the meaning is: You say that your word will judge. But what is that word? It is the word that I have spoken, for I have not spoken of myself; that is, it is the word from the Father that I have spoken, and what he gave me to say and speak. Otherwise, if I had spoken something in opposition to the Father, or something I had not received from the Father, and they had believed me, they would have an excuse. But because I have spoken as I have, it is certain that they have rejected not only me, but also my Father.
According to this explanation, the statement, the Father who sent me has himself given me commandment what to say and what to speak, shows the sufficiency of the basis of the judgment because of the dignity or value of the word. First, its dignity is given; secondly, the fact that the word was spoken. Its dignity is stated when he says, I know that his commandment is eternal life. "This is the true God and eternal life" (1 Jn 5:20). For the Son himself is the commandment of the Father, or, he is eternal life. "If you would enter life, keep the commandments" (Mt 19:17).
Therefore, because the Father has given me commandment, and this commandment is eternal life, and since I have come to lead men to eternal life, I accomplish the commandment of the Father in all that I do. This is what he is saying, What I say, therefore, I say as the Father has said to me. According to Chrysostom, whose explanation is clear, the meaning is: what I say, therefore, when preaching in public, I say as the Father has said to me, that is, insofar as I have received knowledge from him - understanding this was received by Christ as man.
But if, with Augustine, we understand this to apply to Christ as God, how can the Father say something to him, since Christ is his Word? The answer is that the Father did not say anything to him as though he spoke by words to his only Word. Rather, the Father spoke to the Son by generating him, and giving him life in himself: "He (the Lord) said to me, 'You are my son'" (Ps 2:7).
Source: Commentary on John