Ive said it before, I'll say it again.
The thing that is harder than starting a startup is quitting it.
You are brave, my friend, to even have attempted at building a startup. All people talk, very few have the conviction to give it a shot.
The experience you gained while trying to build a business will pay dividends in the future. If you are a software engg, a lot of companies would love to hire you. And you can make great money, and you know what - You can mentally checkout at 6pm - salary will fall into your account on time everytime - You can enjoy your weekends
PS: I am also a failed entrepreneur (sort of). The biggest thing my startup journey taught was how easy 9-5 is. And be grateful in life for having a job that pays well.
All the best brother!