I don't think you wasted your money - unless you mean something different by detox, all detox usually means is getting you through withdrawal safely.
If you're alive and well, detox did its job
If you want to learn
how to live sober - and SR alone has not been enough - I really think you need to think about things like rehab, AA or another recovery group, or addiction counselling?