Suicide is not selfish, it is a desperate act to stop the pain (physically or mentally).
It's sad that we even consider it to be selfish. It shows how little empathy we have sometimes.
If someone jumps from the 40th floor of a burning building we can understand it. It's an extreme reaction to an extreme situation.
Like suicide.