Everyone has their own passion. If it is your passion to give to individual strangers, it is not wrong. Even if they use the money for booze or crack, it was not wrong to show human kindness.
I see too many healthy cons begging to even get started giving money to them. Yesterday, the guy at the interstate off-ramp had his sign: "Unemployed Disabled Veteran applying for housing, Diabetic so no snacks please." I guess he didn't want to receive a soda or a candy bar from strangers and was only leaving room for money donations. I was out of them, but I typically give such folks a one-dollar gift coupon for McDonald's or a piece of fruit. (Reminder to buy more coupons, maybe some healthy 'snack' packages from Costco.)
I do give to some who play an instrument in the park or on the subway platform and I do often give to the old guy who sells bags of peanuts and the folks who sell flowers. I also give to those missing an arm or a leg- but not those probable cons in the wheelchairs.
I do plenty for people I know. Real charity is fine, but helping those you know is great.
If your passion is not for people, but for whales or puppies or clean parks or the arts or after-school basketball programs, that is just as great too. Everyone with a passion should follow that.