Suicide is the worst possible betrayal one can do to his|her family. He|she may think that his|her problems will be solved that way but this is just him|her being a coward as he|she is running away from his|her struggles.
This might bring him|her peace of mind but this action will only make his|her love ones suffer terribly. As death by accident or natural causes such as illness and old age is painful but more acceptable than death by suicide.
You might be struggling a lot but don't ever think that you will be a burden to anyone if you talk about it. If you can't talk about your problems with your close ones, go see a professional. Don't be embarrassed about it. Everyone has a limit. Don't whatever needed to relief your pain except taking your life.