There is clear value in preventing regrets at all costs, for if we fail to repent, we put ourselves in harms way eternally. We will have no eternal life in Christ; but spiritual death. God wants us to always keep away from sin. If we do this, we will have no regrets. Obviously we have to live each moment under the guidance of His Holy Spirit.