It was the Son of God who was in the Son of man that was betrayed, as the Scripture says afterward, "Now the Son of man has been glorified, and God has been glorified in him." Who is here meant by God? Certainly not the Father, but the Word of the Father who was in the Son of man—that is, in the flesh in which Jesus had been already glorified by the divine power and word. "And God," he says, "will also glorify him in himself." In other words, the Father shall glorify the Son because [the Father] has [the Son] within himself. And even though the Son is prostrated to the earth and put to death, [the Father] would soon glorify [the Son] by his resurrection and make him conqueror over death.
Source: AGAINST PRAXEAS 23.11-12