2:13 {5} For it is God which worketh in you both {n} to will and to do of [his] good pleasure.

(5) A most sure and grounded argument against pride, because we have nothing in us praiseworthy, but it comes from the free gift of God, and is outside of us, for we do not have ability or power, so much as to will well (much less to do well), except only by the free mercy of God.

(n) The reason why we are not statues; and yet we do not will well by nature, but only because God has made of our wicked will a good will.

2:13 For it is God which worketh in you. God works in the converted person by his word and Spirit. His Spirit is a helper. It does not destroy our free will, for we may resist it (1Th 5:19).

Both to will and to do. God shows his will by his word and spirit and work in us. We ought to heed it. We can work in harmony with the divine will, or we may reject to our damnation.

For [his] good pleasure. As seemeth best to him.

2:13 For it is God - God alone, who is with you, though I am not. That worketh in you according to his good pleasure - Not for any merit of yours. Yet his influences are not to supersede, but to encourage, our own efforts. Work out your own salvation - Here is our duty. For it is God that worketh in you - Here is our encouragement. And O, what a glorious encouragement, to have the arm of Omnipotence stretched out for our support and our succour!

2:12-18 We must be diligent in the use of all the means which lead to our salvation, persevering therein to the end. With great care, lest, with all our advantages, we should come short. Work out your salvation, for it is God who worketh in you. This encourages us to do our utmost, because our labour shall not be in vain: we must still depend on the grace of God. The working of God's grace in us, is to quicken and engage our endeavours. God's good-will to us, is the cause of his good work in us. Do your duty without murmurings. Do it, and do not find fault with it. Mind your work, and do not quarrel with it. By peaceableness; give no just occasion of offence. The children of God should differ from the sons of men. The more perverse others are, the more careful we should be to keep ourselves blameless and harmless. The doctrine and example of consistent believers will enlighten others, and direct their way to Christ and holiness, even as the light-house warns mariners to avoid rocks, and directs their course into the harbour. Let us try thus to shine. The gospel is the word of life, it makes known to us eternal life through Jesus Christ. Running, denotes earnestness and vigour, continual pressing forward; labouring, denotes constancy, and close application. It is the will of God that believers should be much in rejoicing; and those who are so happy as to have good ministers, have great reason to rejoice with them.