Martin Chemnitz, in his Loci Theologici, outlines several reasons why the Christian should perform good works. They are as follows:
I. Good Works as they apply to God Himself
1. It is the command of God
2. It is the will of God
3. If God is our father, we should be obedient sons
4. Christ redeemed us that he might purify us
5. Good works are the fruit of the Spirit
6. We glorify God through our works
7. That we might become imitators of God
8. That we might walk worthily of God
II. Causes which apply to the Renegerate
1. Because they have been born again, and are new creatures
2. Because they are sons of light
3. That they might witness to the genuineness of faith
4. That they may be assured that they don’t have dead faith
5. So that faith might not be lost
6. So that we may avoid the punishments of God in this life
7. We should have zeal for doing good
III. The impelling and final causes of Good Works as over against our neighbors
1. That our neighbor might be helped and served
2. That others may be invited to godliness by our example
3. That we give no one a cause for offense
4. That by blessing we may shut the mouths of our adversaries
All of these can be found in greater detail with scriptural proofs in Loci Theologici Vol. III, 1183-1184.
All of our good works should be performed with the gospel of Christ in view, and never without the recognition of our utter dependence on the grace of God. However, the language that is often used that thankfulness for the gospel is the sole motivation for good works is unhelpful. It does not exhaust the Biblical testimony or the teaching of the Lutheran tradition.