Don't be to hard on yourself. It took me many years to finally quit. Man, I joined here six years ago (under a different name) and I've been sober two years eleven months. It took me awhile.
I never gave up trying, though. You're not a bad person for having taken a drink. If that were true I'd be the worst person in the world.
I feel for you. I know how hard it is to quit. But, you can do it. Giving up on trying is the only failure.
Best to you.