Hi @leczy :)
What a beautiful story! Yes, it is also important to keep in mind there are three main important factors that can give rise to depression: biological, psychological and social. Nowadays, I believe many people go through situations that are similar to that your friend went through. Unfortunately, however, not everybody is fortunate enough to have the moral support he had from a friend like yourself - who took the time to listen to him - and all the others who offered love and affection.
I believe if Mr. B had had that, his depression (most likely) would not have gotten to the stage it did.
Thank you so much for taking the time to read and share such an uplifting story with us :)
All the best!