Look at failure as a way of finding out what doesn't work and what works, never give up. The key to great online success is to stick to one thing till you master it, then expand knowing that you have something stable.
Most people expand too quickly then end up being all over the place, running plenty of sites (most just churn and burn sites, not long term or evergreen) but the sites keep them glued to their computer screen.
So don't expand too quickly, first be able to create a business that will bring in profits whether you're there working or lying in a hospital bed. That way you know your family is covered whether you're working or not.
But at the end of the day it's all about how bad you want to succeed, what drives you will determine your level of success.