Sounds like you are close to agoraphobia. Hang on in there. My aunt had breast cancer, amalgam poisoning which almost killed her and made her sick for 3 years, her husband left her after 18 years of marriage, she had to go back to school cause she wasnt educated, now her youngest daughter is having these bizarre migraine attacks with no apparent cause, her son is bullied and a loner and the oldest daughter has turned against her and blames her for the divorce.
Its all messed up but she tries to be active, get out, go to church, keep positive. She speaks to herself and says I will not dwell on the past, I onyl have one life and dont want to pronounce myself dead already, there are plenty people I can help, things I can do, places I could volunteer. Just get out there, help out iwth some unfortunate poeple, put something abck into the community, it will do wonders for your life, your health, and you will see that you can make such a difference by doing such small things . That will give you alot of confidence back that I am sure your failed marriage took away.
Go for it!