This abandonment of self-righteousness in favor of Christ alone is one of the great works of the Spirit of God in regeneration. Through the Spirit, the truly repentant person has come to see something of the unattainable righteousness of God and the unsearchable depths of his own depravity.