Welcome!
I drank for any number of reasons - happy, sad, tired, etc. I used alcohol to cope with everything.
You can cope with your life without alcohol. Most of us here felt we couldn't do it, but as you look around here, you will see that we did.
I think stopping drinking is the first thing to do. Then, the hard work begins. I had to deal with the underlying issues in my life in order to support my recovery. You might find that journaling helps you to cope, exercise of any kind will help you to cope, and finding things that you love to do will all help you to cope.