Don't give up on finding another job. It will happen, just keep at it. Some people (me included) can only stay enthusiastic about a job for about a year. Then it becomes a paycheck and whatever else I can get out of it until I can move on to the next one.
I don't believe the mantra that idea's are a dime a dozen. Keep looking until you find an idea that really grabs you and get as much as you can out of it. If nothing else, do it and brush up on your tech skills for that next interview.
Please do see someone professional about your thoughts of suicide. Good luck, you are not alone.