The regret and heartache is reasonable to feel for a little while - for individuals like him, they often need to do work on themselves on the scale of decades, not months or years. It would be a major lifestyle choice to be the committed, supportive partner/caretaker to someone like that. And it takes major emotional labor and can potentially be dangerous. Scars highly likely.
Feel good about doing what you can to help the person along in their journey while maintaining your own healthy boundaries.
And remember to be compassionate to yourself.
I know exactly how you feel, friend. Happy to help :)