Being selfish means to take only for yourself. If you take with the well being of others in mind you are not being selfish. Therefore, It could be selfish or not based on the situation.
even though suicide is not inherently selfish, because there are cases in which it can be performed with the best interests of others in mind, it seems unreasonable to offer the blanket statement that suicide is not selfish.
Being selfish means to act based on your own preference even when you know it will hurt others. Suicide is based on your own preferences, it does hurt others emotionally, and you know it. Suicide might actually make someone else suicide. Is it not selfish to cause so much sorrow to others?
How could this ever be selfish ? Where is the utility for the peron who suicide ? Dead is not a utility, is the worst thing ever. It`s like someone who scratch themselves with knives. Where is the utility ? It`s selfish because you make a ugly look, so that the others can desire you ?