Rehab and jail won't teach them to pay bills and prepare dinner, will it? There's a basic nurturing element missing in all this.
Everett, WA has good inpatient treatment services like what I describe available to everyone. King County (containing Seattle, Bellevue, Redmond, etc) & Pierce County (Tacoma, etc) have no equivalent, just terrible programs like Seadrunnar.
We need to have compassion but it doesn't mean these people get a free pass to literally trash our commons and steal to sustain their habits.
Many star trek episodes were written about this.