When I had a mortgage I had an insurance policy in place to cover unemployment for three years.
Best insurance policy I ever took out because without it I would never have managed to keep paying my mortgage on my own and never expected to be off work for for twelve months. I was strongly advised when I took out the mortgage to cover every aspect of circumstances, costly but worth every penny.
In life we can't predict what will happen in the future and need to make alternative plans.