John 12:30Jesus said, “This voice was for your benefit, not mine. 31Now is the time for judgment on this world; now the prince of this world will be driven out. 32And I, when I am lifted up from the earth, will draw all people to myself.” 33He said this to show the kind of death he was going to die.
By judgement, Christ is referring to the culmination of his earthly purpose, namely, to condemn sin and provide redemption for those who believe in his sacrifice. Jesus said he did not come to judge the world, but to save it, and that by destroying the works and power of the devil, thereby condemning him by the cross! There are two directions of action, the devil being driven out of power, and mankind being drawn toward Christ's power.
And, to me anyway, verse 33 tells us that the primary focus of his quote was about the method of his accomplishing these things.