Giving them a place to stay isn't dealing with the kind of underlying issue, which is there's a very small number of people who are addicted to drugs, are mentally ill, have severe problems with alcohol, and they live on the streets and every winter they fall down drunk four times and get taken to the hospital and have to get a cat scan.
NPR: A Scientific Approach to Helping the Homeless