One the one hand, you're absolutely right. Anyone who kills themselves clearly had some sort of mental health issue. But on the other hand, he grew up in a wealthy family and briefly attended Stanford -- he had access to some of the best health care in the world already.
So I'm not sure better mental healthcare would have helped. Probably more along the lines of destigmatizing mental healthcare might have helped, which is a much harder problem to solve, but also something that thankfully Millennials/Gen Z are doing on their own. It's no longer taboo to mention that you're in therapy.