Distress that drives us to God does that. It turns us around. It gets us back in the way of salvation. We never regret that kind of pain. But those who let distress drive them away from God are full of regrets, end up on a deathbed of regrets.
2 Corinthians 7:10 MSG