Read John 16:5-11
[Jesus said] “And when [the Holy Spirit] comes, he will convict the world of its sin, and of God’s righteousness, and of the coming judgment.” – John 16:8 (NLT)
The Holy Spirit does a number of things as he supports, comforts, and advocates for us here on earth as we await the return of Jesus. First, he convicts the world of sin. This is how we, and anyone else, become aware of our guilt vs. God’s standard for us. Second, he reveals the righteousness of God, and his grace in offering it to us through the death and resurrection of Jesus. Third, he makes us aware of God’s judgment of sin and Satan, and our own future judgment if we do not repent. The entire process of salvation is under his control.