I think you did good!
You were present, helpful, and supportive. Good on you!
You did not take his depression, recovery, emotional instability onto yourself. You let him own his own emotions. You didn't try to fix or heal him.
Outstanding!!
Your recovery looks good on you!