Homeless people have money, just not enough for housing. People with houses also use drugs. All people get money from different places. Not sure what your point is but your generalizations aren’t useful.
You’re making a lot of spurious assumptions and generalizations. The overwhelming majority of the time the homeless are just minding their own business. Some are certainly more annoying than others, some smell worse than others but that doesn’t justify criminalizing all of them nor does it justify abdicating moral responsibility as a society to care for those that often for no fault of their own fail to integrate into the structures that have evolved. There are other solutions, none of them are going to be perfect. Maybe criminalizing sleeping on the street is fine as long as the city provides places to sleep that are reasonable.