and that you, having been set free from sin, have become slaves of righteousness.
I am speaking in human terms because of your natural limitations. For just as you once presented your members as slaves to impurity and to greater and greater iniquity, so now present your members as slaves to righteousness for sanctification.
References for Romans 6:19
When you were slaves of sin, you were free in regard to righteousness.
So what advantage did you then get from the things of which you now are ashamed? The end of those things is death.
But now that you have been freed from sin and enslaved to God, the advantage you get is sanctification. The end is eternal life.
For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.