In repenting of sin we learn to grieve over and hate our sin and then flee to the Lord for salvation.