Although people of all faiths should be encouraged to be charitable,Christians have to operate under a rather unusual teaching which this question will encourage them to violate. Here it is:
Matthew 6:2-4 (New King James Version)
2 Therefore, when you do a charitable deed, do not sound a trumpet before you as the hypocrites do in the synagogues and in the streets, that they may have glory from men. Assuredly, I say to you, they have their reward. 3 But when you do a charitable deed, do not let your left hand know what your right hand is doing, 4 that your charitable deed may be in secret; and your Father who sees in secret will Himself reward you openly.
Is it an important teaching? Yes because Jesus came up with it to decrease hypocrisy which He absolutely detested.