Romans 6:16-18

16 Do you not know that if you continually surrender yourselves to anyone to do his will, you are the slaves of him whom you obey, whether that be to sin, which leads to death, or to obedience which leads to righteousness (right doing and right standing with God)?

17 But thank God, though you were once slaves of sin, you have become obedient with all your heart to the standard of teaching in which you were instructed and to which you were committed.

18 And having been set free from sin, you have become the servants of righteousness (of conformity to the divine will in thought, purpose, and action).