Homeless shelters get just as much money if no one stays overnight... and it's easier. Switch the incentives by giving vouchers to the homeless. Shelters don't get a dime unless 'the homeless' give them a chit for the night's stay.
I have a friend living in his car and a month ago he decided to stay in a shelter. He didn’t even make it until midnight.