Have you ever looked at a moving truck/train and had a thought "It would be nice if that vehicle ram me and I don't have to live this tiresome life"?
Suicide is, at the end, an action to control your life.
Giving up is an option.
Give up your job, give up your relationship, give up your life...
It's a right.
Thought visit a doctor before it went that bad is better option.