Jesus is talking to His followers, they are saved the good works to be done are to glorify our Father
Mat 5:14 Ye are the light of the world. A city that is set on an hill cannot be hid.
Mat 5:15 Neither do men light a candle, and put it under a bushel, but on a candlestick; and it giveth light unto all that are in the house.
Mat 5:16 Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven.
The Word again is speaking to the saved
Eph 2:8 For by grace are ye saved through faith; and that not of yourselves: it is the gift of God:
Eph 2:9 Not of works, lest any man should boast.
Eph 2:10 For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.
Scripture is speaking to/about men of God.
2Ti 3:16 All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:
2Ti 3:17 That the man of God may be perfect, throughly furnished unto all good works.
who is the 'us'
Tit_2:14 Who gave himself for us, that he might redeem us from all iniquity, and purify unto himself a peculiar people, zealous of good works.
we really should be nicer to each other
Heb_10:24 And let us consider one another to provoke unto love and to good works:
Again to glorify God
1Pe_2:12 Having your conversation honest among the Gentiles: that, whereas they speak against you as evildoers, they may by your good works, which they shall behold, glorify God in the day of visitation.
Good works, do not read to me as they are for Salvation but, because of Salvation