Giving people money can work well for those who are just down on their luck, but it's pointless and counterproductive for those who are addicted and/or seriously mentally ill. Those people need active interventions, not passive hand outs.
Let me ask you this: if someone doesn't have money, how do they get drugs?
Refusing help to people with substance use disorder is a form of toxic moralizing that does nothing to help them.