2 Corinthians 9:7 says that, "God loves a cheerful giver." When we give cheerfully, we not only give freely and joyously, but we also give freely and generously, we also give without seeking recognition from men. We are not concerned about what men think; we are only concerned about what God thinks.
Matt 6:3-4, But when you give to the needy, do not let your left hand know what your right hand is doing, so that your giving might be in secret. And your Father who sees you in secret will reward you.
When people recognize evidences of God's grace in us, and when we are encouraged about our growth in Christ, it can be helpful to us and exhort us to continue in good works. We get tripped up when we are giving only for the sake of being praised by men. Giving to be praised is not true generosity, giving in secret so that God will reward you is. The reward God gives is far better than any praise man can give, so it is totally worth it to give and do good works in secret. Then we can look forward to that glorious, "Well Done, my good and faithful servant."