Romans 6:18

6:18 and having been freed from sin, you became enslaved to righteousness.

Romans 6:20

6:20 For when you were slaves of sin, you were free with regard to righteousness.

Romans 9:31

9:31 but Israel even though pursuing a law of righteousness did not attain it.