"27 “Now is my soul troubled. And what shall I say? ‘Father, save me from this hour’? But for this purpose I have come to this hour. 28 Father, glorify your name.” Then a voice came from heaven: “I have glorified it, and I will glorify it again.” 29 The crowd that stood there and heard it said that it had thundered. Others said, “An angel has spoken to him.” 30 Jesus answered, “This voice has come for your sake, not mine. 31 Now is the judgement of this world; now will the ruler of this world be cast out. 32 And I, when I am lifted up from the earth, will draw all people to myself.”"
John 12:27-32
In 28 we have another emphasis that is peculiar to John, in the reference to the glorifying of the Son. Both John and Jesus identify glorification with death. It is not that the glorification follows death, but that the death is the glorification. The words 'I have... and will' mean that the name of God has already been glorified in the signs and wonders Jesus has done, and it will be also - and supremely - in His death. One of the implications of this is that His life and death are a unity, not separate entities. The 'now' in 31 surely has reference to the theme of the passage, namely the death Jesus was soon to die, and He means that in that death the judgment of the prince of this world would take place. We should remember in this connection that the entrance of sin into the world is described in Genesis 3 in terms of an attack on mankind by Satan. What is meant here is that by His forthcoming conflict with the dark powers Jesus was to reverse that appalling tragedy, and undo the effects of evil by judging and dealing with its author, the prince of this world. The result of that costly dealing was to be the releasing of the prisoners and the drawing of all men to Him. It is helpful to refer 32 back to the incident recorded in 20-23, the coming of the Greeks to Jesus. It is as if Jesus were indicating to the disciples what was the real reason for their coming to Him; it was by virtue of the death He was soon to die. Even then, in an anticipatory fashion, the cross was exercising its drawing power. The Pharisees had said, 'Behold the world is gone after Him', and Jesus is now saying, 'Yes, but at a price: I, if I be lifted up from the earth, will draw all men unto Me'.