Hi,
I'm sorry to hear about the problems you have been facing in your marriage.
I think you should continue to focus on being a Christian who walks in holiness and strengthening your relationship with the Lord. Believe in Christ, and grow in your faith. If you haven't gotten baptized, get baptize. Study the word of God, maybe with another man who can disciple you.
Work on all those areas of your life where you were weak as a husband. Is your wife a believer? You can start working on your leadership in the home. When I first got married, I thought my wife has a Bible college degree. It didn't feel all that urgent to study the Bible with her. But I find that simply reading a passage and maybe discussing it at night several times a week is a really good practice and helps our marriage. We pray together often. We also usually do our family devotions with the kids. It's good to have some real prayer apart from praying over meals. If you provide spiritual leadership, that may meet some need she has, and if she takes her faith seriously, she may also respect that. If not, she may respect it anyway. If she doesn't respect it, you can do it for the Lord and for your family.
You can also spend some time with your wife praying together about past sins that haven't been forgiven and forgiving one another, asking the Lord to warm up her feelings. I can tell you, it is possible to recover from a cold spell where one partner loses some of their feelings for the other. I've also experienced where just the simple practice of both of us humbling ourselves before the Lord, being willing to confess our sins to the Lord and to one another, telling God we couldn't fix it and asking Him to send the Holy Spirit to work on us-- resulted in the hard feelings melting away and a restoration of relationship.
You said you drank for years. Do you mean you had a glass of wine with dinner and your wife didn't approve, or did you get drunk often? Were you kind of scary when you were drunk? Your wife could have been more affectionate with you then to keep you calm. If you were a kind of macho tough, drunk, maybe your wife is attracted to macho men. Maybe she was attracted to a man she could try to fix. Or maybe her feelings have little to do with your drinking and she's going through a stage of life where she is rethinking things. Maybe she's under an attack from the enemy who sees your household getting straightened out and wants to put a stop to that. These are some things to think about. If you were satisfying some emotional desire of hers when you drank, maybe you could figure out some other way to satisfy that without drinking.
You could also try marriage counseling. An easy place to start for some couples is a pastor or elders, especially if he has some skill and experience in this area.
It's got to hurt when someone you love says she hates you. If that happened to me, after my wife cooled down, I'd show her that verse that says if anyone hates his brother, he is a murderer and the truth is not in him. That's a heavy verse. I might go for Matthew 5. I'd ask her not to give voice to her feelings in that way. I'd also ask her to pray with me about it. I'd pray for her feelings she's having.
Something else to keep in mind is that feelings can be temporary. In this case, she may have said something more extreme than normal. If she keeps it up, don't cry in front of her, especially if she's seen it once already. If she's prone to say harsh stuff when she's angry, try to treat it a little like a kid who does the same sort of thing. Keep your cool during it, and not let it get to you. It can hurt if your kids say something like that, but if it's a little kid, you can kind of let it not hurt you so bad if you see the big picture. You know your wife, though. That could be a really big deal if she never says anything like that. Maybe since you aren't drinking, she is opening up to you more.
You can also tell her that for years she wanted a husband who would not drink who would be good to her in X ways that she wanted. Now, you are hear to do that. You are sorry for the past. But now she can have what she's wanted for so long, and ask her to enjoy it and work with you to have the kind of marriage that she's dreamed about for all these years.