Citation needed for "$40k per homeless person per year". I used to work directly with homeless people and that doesn't sound even remotely true. And even if you have the top line figure correct I suspect there's some missing context.
In many ways, $40k per person is a low-end figure.
"It costs the city $61,000 per year between ER’s, jail, and support services per homeless person living on the streets."