I don't think many would disagree that despair is one ingredient, but I think suicide is often more complicated than that.
Not every one who experiences deep, even total despair attempts suicide.
I think despair is the one possible "why" that most of us can comprehend and empathize with.