Speaking as someone that spent over a decade suicidally depressed (my cousin/best friend died when we were in our teens, I saw how badly that fucked up our entire family and decided to just struggle through life until my parents died and then kill myself) before finally seeking help...
He honestly, 100% thought he was doing you a favour by taking himself out of your life. The self-loathing is actually unbelievable to look back on. It took me until when the meds, meditation, exercise, and therapy started kicking in in my early 30s that I was finally able to accept that people actually liked me and weren't just stuck with me out of circumstance.