For some who have young children, surely this is not all doom and gloom. Do you imagine being in the same job for years and years to come or will you do something about your situation? Study, change jobs, go for promotion. If you believe that you will be in this kind of situation, then you will. If you believe you won't, then you won't, as you will have a goal, make a plan and achieve.
When I knew my marriage was on the rocks, I started stepping up at work and taking on more responsibility. My plan was to get a promotion and earn more money, so that I could pay the mortgage and bills alone. I worked my back-side off, didn't get a promotion with the same company, but used that experience to get a better job else where. I am now happily single and can pay the mortgage and bills.
My current plan, is to get promotion again in the next 2 years (as I have another goal), so I am doing a qualification over the next 12 months that will enable me to apply for jobs to get that promotion. I have taken on some extra responsibility again at work, to get some good experience for my cv.
It's not been easy, but it is do-able - with a positive attitude and a clear plan.