For the sorrow that is according to the will of God produces a repentance without regret, leading to salvation, but the sorrow of the world produces death.
For the kind of sorrow God wants us to experience leads us away from sin and results in salvation. There’s no regret for that kind of sorrow. But worldly sorrow, which lacks repentance, results in spiritual death.
Is anyone among you sick? Then he must call for the elders of the church and they are to pray over him, anointing him with oil in the name of the Lord; and the prayer of faith will restore the one who is sick, and the Lord will raise him up, and if he has committed sins, they will be forgiven him.