Not all giving was created equal. The Shulchan Aruch goes through the 8 different levels of how its best to give Tzedaka.