I'm SURE that there are MANY people for whom incarceration "worked" (i.e., didn't get back in jail, broke their addiction), but on the whole, there's a lot of evidence that incarceration is simply not the most effective (expensive/doesn't work well for many) strategy for reducing drug usage and drug-related health and social ills.