>that's three meals a day, somewhere warm to sleep
I don't know why people always parrot this like a fact. Plenty of prisons serve only two woefully inadequate meals a day (like, Fyre festival sandwich levels of inadequate) and prisons generally have atrocious climate control. In the southern states, they don't have air conditioning and it gets genuinely dangerous for the prisoners.
Some jurisdictions give the Warden a budget for feeding the prisoners, and any dollar they don't spend, they get to KEEP. This predictably results in malnourished prisoners, but Americans do not have the empathy to care most of the time.