Matt 5:16 In the same way, let your light shine before others, that they may see your good deeds and glorify your FATHER IN HEAVEN.
Matthew 5: 16. Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven.
Exactly your good works ,or deeds are not limited to giving.
We are created for good works.
By giving only to who you choose to give to,does not support the full spectrum of this verse, but it is a convenient answer with a partial meaning.
Setting a example could mean your light would shine for support of missions.
It could mean walking in a manner that is pleasing to God.
Since all that you have past present and future, was given by God
Do you suppose your light could shine out of by not letting God's house suffer lack?
Do you suppose you could visit the sick?
Help the Church with good deeds like cleaning the bathroom?
When you discourage titheing, others are watching your deed.
Soon enough missions are gone ,the House of God looks like a home in the dump.
So what did our Lord think of the Temple,when the money changers were there?
1 Corinthians 9: 13. Do ye not know that they which minister about holy things live of the things of the temple? and they which wait at the alter are partakers with the alter? 14. Even so hath the Lord ordained that they which preach the gospel should live of the gospel.
Give to the poor ,heal the sick,visit the widows and give your tithe and offerings to God's house then your light will shine a bit brighter.
Or do it your way and set a example.
After all the poor will always be with you.
Obedience can be a blessing if you understand you do not choose your good works but God has chosen you for his good works ,and works is pleural