Jesus tells his disciples these things to keep them from falling away. They will be put out of the synagogues, and the hour is coming when whoever kills them will think he is offering service to God, because they do not know the Father or him. He says this now so that when the hour comes they will remember he warned them. Now he goes to the one who sent him, and sorrow has filled their hearts.
He tells them it is to their advantage that he go away, because if he does not go, the Helper will not come; but if he goes, he will send him. When he comes, he will convict the world concerning sin, righteousness and judgment: sin, because they do not believe in Jesus; righteousness, because Jesus goes to the Father and they will see him no longer; judgment, because the ruler of this world has been judged. He still has much to tell them, but they cannot bear it now. When the Spirit of truth comes, he will guide them into all truth, speak what he hears and declare the things that are to come. He will glorify Jesus.
Jesus says that in a little while they will see him no more, and again in a little while they will see him; the disciples wonder what this means. He explains: they will weep and mourn while the world rejoices, but their sorrow will turn into joy. He compares it to a woman in labor, who has pain when her hour comes but rejoices when the child is born. He will see them again, and no one will take their joy from them. On that day they will ask the Father in Jesus' name.
The disciples say that now he speaks plainly and they believe he came from God. Jesus asks whether they now believe; the hour is coming when they will be scattered and leave him alone, yet he is not alone because the Father is with him. He has said this so that in him they may have peace. In the world they will have trouble, but they should take heart, because he has overcome the world.