Your drinking may have been masking some underlying issues that you now have to address.
Another reason for being miserable in sobriety is doing nothing for your recovery except quit drinking. Abstinence is not drinking; recovery is learning to live and love the sober live.
What are you doing for your recovery?