Great job removing the stress and handling it.
What really helped me was reading AVRT, not sure if you are familiar with it(there are great threads on this in the Secular Connections forum here on SR).
The AV is all the positive thoughts about alcohol use, eg that alcohol 'helps' relieve or handle stress. And It(AV) lies, big time.
What you described shows this to be true, there 'is' a certain time or situation that is associated with stress and one of (if not the only) way to get through it was to drink, what you did and experienced shows how big a lie that thinking is, good job.
Dismissing the AV every time drinking is presented as an option whether it is to handle stress , enhance enjoyment, whatever will in time cause those thought patterns to lose validity , the lie will be exposed over and over again , and they will appear weaker and more pathetic. Squash that AV, expose it for the liar It is, You can do it.