I don’t know. I’d bet you going to jail as a homeless person would be a step up, as they’d have a guaranteed bed, shower, and 3 meals a day. No, criminalizing acts of being homeless is more about punishing them for their existence, and making their lives more miserable; not better.
Not all homeless people are jobless and may have been displaced for one reason or another. Jailing them ensures they won't have a job and can't get one in the future
Well, except for locking them in a place with actual violent criminals… and violent prison guards. Jail is a pretty fucked up place, even if you get 3 hots and a cot.
Jails are dehumanizing and horrible places. I would rather starve than live in jail.
Not to mention how having a criminal record pretty much destroys any hope of ever getting out of homelessness. Nobody will hire you, nobody will rent to you.