The Bible commends giving to the poor in Proverbs and in the words of Jesus in Matthew 25.
In Proverbs 19:17:
17 He that hath pity upon the poor lendeth unto the LORD; and that which he hath given will he pay him again.
In Proverbs 22:9:
9 He that hath a bountiful eye shall be blessed; for he giveth of his bread to the poor.
In Matthew 25:40:
40 And the King shall answer and say unto them, Verily I say unto you, Inasmuch as ye have done it unto one of the least of these my brethren, ye have done it unto me.