Congratulations for setting a boundary and taking care of yourself.
If he had 18 years of sobriety, that means he knows how to get sober when he wants to.
It seems you already know that if there is any chance of a turnaround, you have no power to create it. To accept what is gives you the freedom to create a life worth living whether he turns around or not.
Wishing you strength and clarity.