Rehab kept me away from drinking for about 34 days. Then I drank. I paid the bill.
AA was free. I went and found a sponsor and worked through those steps. 8.5+ years later and I am still sober.
Rehab taught me how alcohol and drugs work in the body and other things. AA gave me a sober life.
I wish you well on your sober journey!