that's why you never leave cash
if you must do something, it's better to just get the equivalent in necessities - food, drink, etc.
have never given a homeless person cash but have bought them a burger meal and offered advice to where they could seek employment if they really wanted to help themselves