Rand never speaks against charity if it is done as a free act of will, only the idea of forced charity. When Hank gives the donation to his brother he does it because it will make the fool happy, not out of any sense of guilt...
Man was made for joy and woe
Then when this we rightly know
Through the world we safely go.
Joy and woe are woven fine
A clothing for the soul divine.