God's grace is resisted by those who reject the gospel. They have "insulted the Spirit of grace" (Hebrews 10:29). The Bible teaches that people resist the Holy Spirit, because their hearts have not been changed by the grace of God. Those who are lost face condemnation by rejecting the gospel of Christ.
"You stiff-necked and uncircumcised in heart and ears! You always resist the Holy Spirit; as your fathers did, so do you" (Acts 7:51). Only the Spirit of God can change our hearts, which means the mind, will, and emotions. By resisting the Spirit of grace, those who are lost insult the only one who can apply the gospel of Christ to their hearts.
The Spirit of grace, who changes our corrupt hearts, is the same Spirit who convicts those who are lost of unbelief. Conviction is grace that precedes new birth (John 16:7-11). When conviction is resisted, grace is resisted. Conviction deals specifically with the sin of unbelief, in essence, rejecting the gospel of Jesus Christ.
Those who are lost reject the light of Christ. Jesus said, "And this is condemnation, that the light has come into the world, and men loved darkness rather than light, because their deeds were evil" (John 3:19). Therefore, those who are lost resist the Spirit of grace and have no one to blame but themselves for their own just condemnation.