I am so sorry. I can only say that just because you realize that you cannot be with someone does not mean that the caring goes away. And that is totally fine. He is in a toxic place and all you can do at this point in my opinion is to move forward and turn him over to God.
Many hugs.