Yes. You did the right thing. There was no way you could have changed him or "made him see the light". He's not interested in recovery; he just wants his enabler, and that's no you (thank goodness).
As for how to move on, you focus on taking care of yourself while you heal. You get involved in new activities. You remember to rest, eat well, surround yourself with friends, and take time to reflect. And you post on SR a whole lot