Sorry, Patrick. I feel your pain, having been there numerous times myself (an over 20 year addiction).
You're not a loser, though! The only thing that will make you a 'loser' (by choice) is if you didn't get up and fight this crap! The fact that you got up means that you're trying, that you're doing something about it.
Counting days in between lapses, as getting lesser and lesser is just a sign that you need to 'buckle' down more, focus more on you- on your sobriety and health.
Glad you're aware that all this is just self-medication, and we can add to that 'escapism' as well.
Sounds to me that much of it relates to an 'identity crisis'- dealing with the negative views you entertain about your (awesome) self. Man, you're probably a really cool guy to know- though I know our interactions are only 'virtual'. You probably have many good things going for you, as you mentioned that you're handsome?? That's a start- but on the inside, you're probably not a jerk, but are a nice person. I know that means a lot to me as a hetero man, that other men are not jerks (too many of them!).
Will setting your counter as
Beat my personal best work better for you? Than you can be like,
"My personal best (for example) is 90 days, I'll make that a personal challenge to myself (screw whatever other people's counters say!), that...I Will beat my personal best, for me!"
Before you compare, and say- "That's easy for you to say, you're at day-X!" My own struggles have stretched over 20 years to varying degrees of intensity, with many attempts to quit, including accountability groups, counseling, etc, all to no avail. So, I've fell on my face, often. And- being a perfectionist myself- all the self-hate, and self-anger that comes with it. And it wasn't until I addressed both the shame-factor as well as the identity-crisis, was I able to finally undercut my cyclic and addictive behaviors.
Peace, brother. Let me know if I can be of any help to you in this.
You can do it!