Do people in jail live better than homeless people?

I think yes, people in jail do live better than homeless people. Why?

People in jail get fed and have a bed.

People that are homeless, dont have that kind of ability. They cant make friends, esually, they dont get fed, or get fed poorly, and they get to see people that cant help them in any sort of way.