Through tzedakah given with a whole heart one comes to joy.
Sefer HaMidos, Joy and Happiness, Part I §4