Then when he says, so as to obey, he clarifies this admonition.
In regard to this it should be noted that sin reigns in man in two ways: in one way, through internal consent of the mind. To remove this he says, so as to obey the lusts thereof. For it is by obeying the passions of sin with our minds that sin reigns in us: go not after your lusts (Sir 18:30).
In a second way sin reigns in us through the performance of the act. To exclude this, he adds, neither yield your members unto sin, i.e., to the inclination to sin, as instruments of iniquity, i.e., as instruments for committing sin. For wh...en man commits sin through his members, he yields to sin. In this way he seems to fight to restore sin's dominion, which grows in us through the habit of sinning: they went down to hell with their weapons (Exod 32:27).
Then when he says, but yield yourselves to God, he urges them to the opposite, namely, to yield themselves to God.
And first with regard to the internal faculties when he says, but yield yourselves to God by submitting your mind to God: and now, Israel, what does the Lord your God require of you but that you fear the Lord your God and walk in his ways (Deut 10:12). And you ought to do this as those that are alive from the dead, i.e., as led from the death of sin to the life of grace. Hence it is fitting, since he died for all, that those who live might no longer live for themselves but for him who for their sake died and was raised (2 Cor 3:15).
Second, with respect to outward actions; hence he says, yield your members . . . unto God, i.e., to his service, as instruments of justice with which to fight against God's enemies: put on the whole armor of God, that you may be able to stand against the wiles of the devil (Eph 6:11).
Source: Commentary on Romans