Sorry to hear it. A lot of these lessons unfortunately only come through experience and learning from past mistakes.
I'm sure that this was a tough time for you but when you try again it will stand to you and there will be more success by using your past experiences to thrive in your next venture.
This will certainly be the case.
Thank you for replying to the comment