OP at the bottom of my post there are links to Carers UK and the MacMillan website which explains your rights as a carer - there is some useful information in there.
I’m so sorry you are going through this, but there is help out there. Under the Equality Act 2010, as a carer you have statutory rights as well as avenues to protect your own health. The main focus is flexible working, time off and protection from discrimination. Cancer is defined as a disability under the Act and even though you are not the one who is ill, you are legally protected from ‘discrimination by association’. This means your employer cannot treat you less favourably simply because you are caring for a spouse with a terminal illness.
Under the Carers Leave Act you have a right to take up to one week of unpaid leave per rolling twelve month period for caring responsibilities and you can take this however best suits you - as a block or in full or half days. It doesn't sound much but it could come in useful for medical appointments.
You also have a right to a reasonable amount of time off to handle unexpected emergencies involving your husband - your employer cannot refuse these and cannot penalise you for them.
Unfortunately there is no law forcing employers to provide paid compassionate leave for a partners’ illness but you should check with your employer as to what their own policies are regarding this. You can also request an unpaid career break or an extension to an existing one.
You also have the right to make a formal flexible working request - working from home or hybrid working, adjusted start and finish times to match care needs, compressed or part time hours must all be considered and your employer can only reject the request based on clear business reasons permitted under the Act.
For clarity, since there has been some misinformation regarding ‘sick leave’, the stress associated with the responsibility you are carrying as a carer, is a severe health factor in its own right, so it’s perfectly acceptable for you to see your GP regarding stress-induced illness. If your GP signs you off work with a fit note for stress, you are entitled to Statutory Sick Pay or any company contractual sick pay scheme, the same as with any other medical absence.
I would start by checking your staff handbook if you have one, or talking to HR. Making them aware of your husbands’ condition triggers these statutory rights and protection against associative discrimination. Explain the situation and ask about any/all of the things listed above. They are your right in law and the employer has to have clear reasons for refusing any of them. It’s also a good idea to ask if there is an employee assistance programme, and if so see what is available via that.
I don’t know if this has already been mentioned but have you thought about getting local authority carers for your husband while you are at work - would that help at all ? He has a legal right to a free care needs assessment from your local council’s adult social services. They will look at his overall needs, safety, and what support is required while you’re working and depending on the assessment, can provide a package of care including carers visiting at set times during the day, or attendance at a day care centre if available. They can also arrange for safety gadgets such as telecare if your husband is at risk from falls etc.
Care is means tested so after the care assessment, the council will carry out a financial assessment of your husband's income, pensions, and capital/savings to see if they will pay for the care or if he will need to contribute or self-fund.
And OP, because you’re juggling employment and caring duties, you’re also legally entitled to your own carers assessment from adult social care to look at the impact work and caring responsibilities are having on you, and to provide support where possible.
https://www.carersuk.org/help-and-advice/practical-support/conditions-hub/caring-for-someone-with-cancer/
https://www.macmillan.org.uk/cancer-information-and-support/supporting-someone/your-rights-at-work-while-caring-for-someone