Not to be cruel but just for perspective: a person stuck in a hole with you literally can’t bail. Staying in the hole - of being “drinking buddies” - is a default setting, and anyway you’re stuck in the hole.
Once you climb out of the hole you have a choice. The choice is entirely yours: you are free to make the choice that you think is the right one.
Have you tried visiting an Al-Anon meeting? It can be a game changer for family and loved ones of alcoholics:
Eric linked his thread above which is full of valuable insight here on Talking Sober: Are you affected by a loved one who is an addict?
Take care and don’t give up. Life is full of challenges and this is exasperating but it is one of them. You have freedom and clarity and you can make whatever decisions here that you think are reasonable.