That is exactly why I'm trying to tough it out, staying self-funded as long as I can.
Too many horror stories like you mentioned.
Most investors nowadays won't fund you, until you have revenue anyway, at which point you don't need funding.
They pretty much just want a free lunch.
Then, they kick you out of your own company...
Tough it out, have a side job, focus on the product, customers and revenue.
Once you have that, grow organically.
I know, easier said than done...
I wrote an article about this, BTW: