Generally that's true. Most addicted people don't rot in jail. However, addicted people who commit crimes do rot in jail. Then, they get out, do more coke, do more crimes, then rot in jail some more.
Why can't they get rehab while they are in jail so they won't do drugs again? Don't their parole officers check them for drugs when they get out?