The aim of this passage to make use understand why, even though we are saved by grace and not works, we can not continue to sin.
We can not continue in sin because we are dead to sin and alive in God (Rom 6:1-11)
It is only when our flesh is dead that we are free from sin
Does it mean that since we have the righteousness that comes by grace and not works, that we can continue to sin? Definitely not because it is unthinkable that we who have died to sin (that is have been separated from sin) continue to live sinful lives. All of us who are baptized shared in the death of Christ Jesus and we shared in His death so that in that same way He was raised by the power of the Father into a new life, we too might have this new life by the power of the Father. If we are united with Christ Jesus in a death like His, then we shall, without a doubt, be united with Him in a resurrection like His. We know that our flesh was crucified with Christ Jesus so that its desires might be made insignificant and so that we would not longer be slaves to sin. It is only when our flesh is dead that we are free from sin. Also if we have died together with Christ, we believe that we will also live together with Him. We know that He has risen never to die again because death has no power over Him. In the same way that Christ Jesus dies once and for all to sin and is now living to God, we must also consider ourselves dead to sin and living to God in Christ Jesus.
We can not continue in sin because rather than obey sinful passions we obey the word of God (Rom 6:12-23)
The wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.
We are, therefore, not to allow sin to have any power in our bodies to make us obey its ungodly desires. We are not to give our bodies to sin as devices of execution and perpetration of wickedness. Rather, we are to give ourselves to God as people we are being brought from death to life, and our bodies to Him as devices of righteousness. We are not to give our bodies to sin because it has no power over us because we are not under the law which condemns and demands works of the flesh but we are under grace which is a gift. This does not mean we are to continue in our wicked way because we have received the gift of grace. Know that you are slaves of the one that you obediently server. Whether it is to sin which leads to death or to the word of God which leads to righteousness. Thanks to God, that you who were slaves to sin have been set free and by obedience to the teachings of the word of God, have become slaves of righteousness. Thanks to God, that you who were slaves to sin have been set free and by obedience to the teachings of the word of God, have become slaves of righteousness. Just as you gave yourselves as slaves to wickedness which resulted in more wickedness (in yourselves and others), now present yourselves as slaves to righteousness which leads to sanctification (of yourselves and others). When you were slaves to sin, you were free to do whatever you wanted with no constraints of righteousness. But what benefit did you receive from that life? A life which you are now ashamed of? Those things only lead to death. But now that you have been set free from sin and have become slaves of God, the fruit you get leads to sanctification and its end, eternal life. For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.
Gen 4:7 If you do well, will you not be accepted? And if you do not do well, sin is crouching at the door. Its desire is contrary to you, but you must rule over it.
Gen 2:17 but of the tree of the knowledge of good and evil you shall not eat, for in the day that you eat of it you shall surely die.
2 Peter 1:5-9 For this very reason, make every effort to supplement your faith with virtue, and virtue with knowledge, and knowledge with self-control, and self-control with steadfastness, and steadfastness with godliness, and godliness with brotherly affection, and brotherly affection with love. For if these qualities are yours and are increasing, they keep you from being ineffective or unfruitful in the knowledge of our Lord Jesus Christ. For whoever lacks these qualities is so nearsighted that he is blind, having forgotten that he was cleansed from his former sins.