Philippians 2:13 is an often-quoted verse and it goes like this:
“For it is God who is working in you both to want to do, and to do, his good pleasure.”
Created to Do Good Works
God, via the gift of holy spirit, works in us not just to do (“work”) his good pleasure, but even to want to do it. God saves us, but that is not all He wants from us. He created us to do good works. God wants us to take our internal holiness and “out-work” it into our daily lives.
God Wants Us to Enjoy His Work
God can be seen to be the ultimate giver. First, when we are born again, He gives us His gift of holy spirit, which infuses our entire body and gives us a new, divine, and holy nature. Then He works inside us via that nature to produce in us the desire to do His good pleasure, and to do those things that are pleasing to Him. He does not want us to simply work for Him whether we want to or not, He wants us to enjoy doing His work, so He works in us to produce both the desire to do His will, and then goes even further and empowers us to do His work.
Sensitive to the Workings of God
That God and Jesus Christ are at work within us to do their will is a concept that is woven through the Church Epistles. Philippians 1:6 says that the one who began a good work in us will complete it, meaning that God will continue to work in us throughout our lives. Galatians 5:17 speaks of the battle between the flesh and the spirit, a battle that would not exist if God were not working through His gift of holy spirit to conform us into the image of Christ (Rom. 8:29). Yet people constantly resist the inner working of the spirit, and persist in hardheartedness and sin. We need to be sensitive to the workings of God in us, and then we will both want to do, and be empowered to do, His will.
(The commentary above is from our free 1,000+ page Revised English Version® Commentary.)