Tough but important decision. If and when you feel you've exercised all your options and you're losing more than you're gaining, it might be time to call it.
@franksondors assuming you are an startup founder.
If yes then i would suggest not to quit. You can build a MVP and sell it on marketplace. Which is the current trend in the market.
All you need to do is to find the right person who identifies your product and can build it.
When you wish for the sweet release of death over going to work. That only happened to me once in my career and I quit immediately then. To be fair, my boss did tell me that I must work from the basement and am not allowed to go to the bathroom throughout the 8-hour work day. So. Yeeeaahh. She also removed the clock from the basement and didn't allow me to look at my phone throughout the day?? I was like miss girl you do realise I can look at the time on my computer, right?
Anyway yeeeaaaahh don't ask me why I even worked there for the amount of time that I did. Needin money fresh outta uni b like ahahha