On the balance, you aren't doing anything wrong. The only real takeaway is entrepreneurship is hard. VERY HARD.
You will make plenty of mistakes. Technical mistakes. Business mistakes. Mistakes that cost years, maybe even decades. Mistakes that will cost you thousands (hopefully not millions).
Don't obsess about "we should have done this" or "I should have done that." You'll beat yourself up unnecessarily.
If you want to do entrepreneurship, keep at it. Find problems. And fix them fast.
If you don't have the bankroll to do it (or just fall out of love), then you can quit too. That's ok.