We are convicted by the Holy Spirit before our conversion. Many have been under conviction who have resisted the Holy Spirit (Acts 7:51). They have spurned the Spirit of grace to their own just condemnation (Hebrews 10:29). Conviction of unbelief by the Holy Spirit is grace common to all mankind. He will convict the world of sin, and of righteousness, and of judgment (John 16:8). Yet, conviction without believing on the Lord Jesus Christ brings no salvation.
The Holy Spirit convicts of the sin known as unbelief. It is the sin that separates us from the grace and love of God in Christ Jesus (John 16:7-11). Only by believing on the Lord Jesus Christ are we saved from condemnation and eternal judgment (John 3:36; Acts 16:30-31).
The Holy Spirit likewise convicts of righteousness (John 16:8). He convinces us that we need the righteousness of Christ. This is conclusive evidence that our self-righteousness can never save us. Only the righteousness of Christ, accounted to us by faith alone, can please God (Romans 4:5).
The Holy Spirit convicts of unbelief before regeneration and conversion. Our conversion to the Lord Jesus Christ gives all the glory to God, knowing that the Spirit of grace brings conviction before our conversion.