The attitude that comes from selfishness leads to death, but the attitude that comes from the Spirit leads to life and peace.
So the attitude that comes from selfishness is hostile to God. It doesn't submit to God's Law, because it can't.
People who are self-centered aren't able to please God.
But you aren't self-centered. Instead you are in the Spirit, if in fact God's Spirit lives in you. If anyone doesn't have the Spirit of Christ, they don't belong to him.
If Christ is in you, the Spirit is your life because of God's righteousness, but the body is dead because of sin.
If the Spirit of the one who raised Jesus from the dead lives in you, the one who raised Christ from the dead will give life to your human bodies also, through his Spirit that lives in you.