Imagine being so lost, depressed, frightened, etc, that you truely believe that everybody who loves and cares for you will be better off without you.
People don't commit suicide in order to hurt anybody, they are (for the time being) unable to see how anybody could be hurt by their actions.