You feel people take you for granted and they make fun of you and you see yourself in a bad marriage and people don't seem to understand you. It is concerning that you feel like ending your life.
It appears that you find yourself at a dead end but these can be worked up, these are the symptoms of exogenous depression. It will take some time to resolve the problems but it could be done with the help of a therapist. Even in the most severe cases, depression is highly treatable.
Next Steps
1. It is advised that you consult a clinical psychologist and work through your feelings.