I was reading AN 4.61 this morning in which the Buddha talks about how to use your wealth:
There are four fitting deeds a noble disciple does with the legitimate wealth he has earned by his efforts and initiative, built up with his own hands, gathered by the sweat of the brow. What four?
To start with, with his legitimate wealth he makes himself happy and pleased, keeping himself properly happy. He makes his mother and father happy … He makes his children, partners, bondservants, workers, and staff happy … He makes his friends and colleagues happy … This is his first expenditure in an appropriate sphere on a deserved and fitting cause.
Furthermore, with his legitimate wealth he defends himself against threats from such things as fire, flood, rulers, bandits, or unloved heirs. He keeps himself safe. This is his second expenditure in an appropriate sphere on a deserved and fitting cause.
Furthermore, with his legitimate wealth he makes five spirit-offerings: to relatives, guests, ancestors, king, and deities. This is his third expenditure in an appropriate sphere on a deserved and fitting cause.
Furthermore, with his legitimate wealth he establishes an uplifting religious donation for ascetics and brahmins—those who refrain from intoxication and negligence, are settled in patience and sweetness, and who tame, calm, and extinguish themselves—that’s conducive to heaven, ripens in happiness, and leads to heaven. This is his fourth expenditure in an appropriate sphere on a deserved and fitting cause.
'These are the four fitting deeds that a noble disciple does with the legitimate wealth he has earned by his efforts and initiative, built up with his own hands, gathered by the sweat of the brow.
Whatever wealth is spent on something other than these four fitting deeds is said to not be expenditure in an appropriate sphere on a deserved and fitting cause…
The Buddha includes taking care of those who depend on you, but he doesn’t mention anything about taking care of those who don’t necessarily “depend” on you but need help i.e the sick, the mentally ill, the homeless.
Would donating money to causes that help these people really not be considered something in “an appropriate sphere on a deserved and fitting cause?”