There were MANY MANY times when I fell back into old patterns as I struggled to get my life back on track. It takes a long time to undo old patterns of behavior. The important point is that you recognize your behavior as unhealthy. You know a better way. You can brush yourself off and get back on track.
This is true recovery.