The Lord expects us to give to the poor and to those in need. We are to give out of compassion and not for self glorification. Let your charitable giving be for the sake of those in need, to glorify G-d—not yourself. Don’t make a big show of it so as to try to make people think you are a good person—for example, because you volunteer at the homeless shelter, or donate to the food bank. That does no good for you. Instead, be humble when you give. The Lord knows what you are doing, and He will reward you for your good deeds.
There is no need to seek the approval of men by showing off when you give—to do is not only arrogant and prideful, but it also shows a lack of self esteem, and the desire for the approval of others. It is much more important to have G-d’s approval, and His blessing. He blesses us so we can bless others. He approves of you.
But when you give to the needy, do not let your left hand know what your right hand is doing, Matthew 6:3