If they're spending money on, say, school lunches for poor kids and on substance abuse programs, they're not technically spending money on homeless people, but it's hard to see that the money that isn't being spent on the unhoused doesn't help people not become unhoused in the first place.