Biblical obedience is not just compliance with some abstract law or rule. It is the submissive response to the person of the Holy Spirit, who has revealed the will of God to us through His Word. It means saying yes to God as we say no to self. It means denying self instead of indulging self. It means pleasing God instead of pleasing self. It means walking in the Spirit instead of grieving the Spirit.Jim Berg, Changed Into His Image, p. 88.
I think Berg’s point is that obedience to God is not just doing what is asked. True obedience includes a submission to God himself in the process. That is why “the sacrifice of the wicked [obedience to God’s law] is an abomination to the Lord [not pleasing to God].” If we want to please the Lord and keep our relationship right with Him, we have to have the right attitude as well as the right action.