Jesus in John 15 through 17 gives the disciples a few final instructions and cautions before He is arrested and murdered. The figure of a vine and branches is used to illustrate abiding in Him and bearing fruit, and love for God and each other is couched in terms of hearing and doing all that God says. Abiding is like being a branch connected to the main part of the vine, where the branch receives all it needs and bears much fruit. So a disciple abides in the love of God by doing all that He commands. If we abide thus, then we can ask of the Father and He will give it to us.
12“This is My commandment, that you love one another, just as I have loved you. 13“Greater love has no one than this, that one lay down his life for his friends. (John 15:12-13 NASB95)
We are friends of Jesus, and God, because we love Him and do what He asks. Jesus commands us to love each other in the same way we have been loved by God, and by Him.
Because of this relationship, the world will hate us just as it hates Him, because we are not greater than our Master. The world hated Jesus before it hated us, because they do not know the Father nor do they want to know Him. They hate Him without cause, which is foretold in the pages of the Torah that some of them hold dear. As Jesus outlines His coming departure, He gives words of hope concerning His return, and that in the meantime He will send a Comforter. While we are getting kicked out of synagogues and persecuted for His name’s sake, this Spirit of Truth will testify of Jesus.
7“But I tell you the truth, it is to your advantage that I go away; for if I do not go away, the Helper will not come to you; but if I go, I will send Him to you. 8“And He, when He comes, will convict the world concerning sin and righteousness and judgment; 9concerning sin, because they do not believe in Me; 10and concerning righteousness, because I go to the Father and you no longer see Me; 11and concerning judgment, because the ruler of this world has been judged. (John 16:7-11 NASB95)
This Spirit of Truth, helper, or comforter will not speak of His own initiative but will take from Jesus and disclose it to His people. He will glorify Jesus and tell us things to come. Jesus reassures the disciples that though they will grieve soon while the world rejoices, their grief will turn to gladness. He answers aloud their unspoken questions concerning their misunderstanding of His going away, which confirms for them that He is indeed from God.
33“These things I have spoken to you, so that in Me you may have peace. In the world you have tribulation, but take courage; I have overcome the world.” (John 16:33 NASB95)
In chapter 17 Jesus prays for the disciples, and by extension all of His people, that we may be one with Him as the Father and the Son are one. He speaks of His authority over all flesh, and His desire to be glorified with the glory He had before the incarnation. He asks not that the disciples be taken out of the world, but that they would be protected from the evil one as they are sanctified in truth and testify on His behalf to those who will believe in Him through the disciples word. As He makes His name known, He desires that His people participate in the oneness between Him and the Father, and to glorify the Father.