you did what you did as you cared and tried to help him there is nothing wrong or foolish in what you did at all
so be proud of it i only hope one day the guy finds help and will one day come to see just what it is that you did for him
sadly while there still in the thick of it there is no chance of it
but dont you end up feeling any blame or anything as you did a good thing
good luck to you