Under no circumstances should you end your life. You’re experiencing difficult times. Problems are a part of life but so are their solutions. Everyone experiences problems. Problems can be solved and your life can improve. That is true for everyone and it is true for you.
Having difficulty in college should not equate to being a failure. Perhaps you took the wrong classes or chose the wrong major. Your strengths might lie in a different type of class or in a different major. It can take time to determine a definitive career path.
Every college institution has administrative deans or staff who work to identify student problems. I would encourage you to speak to school administrators and ask them to assist you in determining what may be wrong. They will assess the problem and attempt to correct it.
You may want to consider a community college or vocational school as an alternative to a four-year college. One positive aspect of these schools is that they train students for a type of job that is currently in demand.
I would also encourage you to be evaluated by a mental health professional. It would be advisable because you are under significant duress and considering suicide. Individuals considering suicide are not thinking clearly. Suicidal thinking may also be a sign of depression. Most universities provide psychotherapy services to their students, free of charge. If that is not an option, then speak to your primary care physician, who could recommend a mental health professional in your community. If you feel that you might harm yourself, call 911 or go to the emergency room. Please take care.