I can only share with you the context and what the study note writers wrote in my study Bible.
Context. This is at the time of the last supper where Jesus is speaking with His disciples.
In my Study Bible, there is a heading: Jesus Teaches about the Holy Spirit followed by verses 5-15.
John 16:5-15 New International Version (NIV). 5 but now I am going to him who sent me. None of you asks me, ‘Where are you going?’ 6 Rather, you are filled with grief because I have said these things. 7 But very truly I tell you, it is for your good that I am going away. Unless I go away, the Advocate will not come to you; but if I go, I will send him to you. 8 When he comes, he will prove the world to be in the wrong about sin and righteousness and judgment: 9 about sin, because people do not believe in me; 10 about righteousness, because I am going to the Father, where you can see me no longer; 11 and about judgment, because the prince of this world now stands condemned.
12 “I have much more to say to you, more than you can now bear. 13 But when he, the Spirit of truth, comes, he will guide you into all the truth. He will not speak on his own; he will speak only what he hears, and he will tell you what is yet to come. 14 He will glorify me because it is from me that he will receive what he will make known to you. 15 All that belongs to the Father is mine. That is why I said the Spirit will receive from me what he will make known to you.”
The relevant Study Notes from my Study Bible are:
16:5 Although the disciples had asked Jesus about his death (13:36; 14:5), they had never wondered about its meaning. They were mostly concerned about themselves. If Jesus went away, what would become of them?
16:7 Unless Jesus did what he came to do, there would be no gospel. If he did not die, he could not remove our sins; he could not rise again and defeat death. If he did not go back to the Father, the Holy Spirit would not come. Christ's presence on earth was limited to one place at a time. His leaving meant he could be present to the whole world through the Holy Spirit.
16:8-11 Three important tasks of the Holy Spirit are (1) convicting the world of its sin and calling it to repentance, (2) revealing the standard of God's righteousness to anyone who believes, because Christ would no longer be physically present on earth, and (3) demonstrating Christ's judgment over Satan.
16:9 According to Jesus, not believing in him is sin.
16:10, 11 Christ's death on the cross made a personal relationship with God available to us. When we confess our sin, God declares us righteous and delivers us from judgment for our sins.
16:13 The truth into which the Holy Spirit guides us is the truth about Christ. The Spirit also helps us through patient practice to discern right from wrong.
16:13 Jesus said the Holy Spirit would tell them "what is yet to come"--the nature of their mission, the opposition they would face, and the final outcome of their efforts. They didn't fully understand these promises until the Holy Spirit came after Jesus's death and resurrection. Then the Holy Spirit revealed truths to the disciples that they wrote down in the books that now form the New Testament.
There's a couple more study notes about 16:13. Let me know if you want them.
(Edit. Have now added the Study Notes for John 16:13.)
Does this help?
I can only share with you the context and what the study note writers wrote in my study Bible.
Context. This is at the time of the last supper where Jesus is speaking with His disciples.
In my Study Bible, there is a heading: Jesus Teaches about the Holy Spirit followed by verses 5-15.
John 16:5-15 New International Version (NIV). 5 but now I am going to him who sent me. None of you asks me, ‘Where are you going?’ 6 Rather, you are filled with grief because I have said these things. 7 But very truly I tell you, it is for your good that I am going away. Unless I go away, the Advocate will not come to you; but if I go, I will send him to you. 8 When he comes, he will prove the world to be in the wrong about sin and righteousness and judgment: 9 about sin, because people do not believe in me; 10 about righteousness, because I am going to the Father, where you can see me no longer; 11 and about judgment, because the prince of this world now stands condemned.
12 “I have much more to say to you, more than you can now bear. 13 But when he, the Spirit of truth, comes, he will guide you into all the truth. He will not speak on his own; he will speak only what he hears, and he will tell you what is yet to come. 14 He will glorify me because it is from me that he will receive what he will make known to you. 15 All that belongs to the Father is mine. That is why I said the Spirit will receive from me what he will make known to you.”
The relevant Study Notes from my Study Bible are:
16:5 Although the disciples had asked Jesus about his death (13:36; 14:5), they had never wondered about its meaning. They were mostly concerned about themselves. If Jesus went away, what would become of them?
16:7 Unless Jesus did what he came to do, there would be no gospel. If he did not die, he could not remove our sins; he could not rise again and defeat death. If he did not go back to the Father, the Holy Spirit would not come. Christ's presence on earth was limited to one place at a time. His leaving meant he could be present to the whole world through the Holy Spirit.
16:8-11 Three important tasks of the Holy Spirit are (1) convicting the world of its sin and calling it to repentance, (2) revealing the standard of God's righteousness to anyone who believes, because Christ would no longer be physically present on earth, and (3) demonstrating Christ's judgment over Satan.
16:9 According to Jesus, not believing in him is sin.
16:10, 11 Christ's death on the cross made a personal relationship with God available to us. When we confess our sin, God declares us righteous and delivers us from judgment for our sins.
There's a couple more study notes about 16:13. Let me know if you want them.
Does this help?