Small changes can help.
Don't turf your dd out of your bed - she needs the comfort of sleeping with her parents. Think globally, think in terms of human ancestry. Snuggling in by your adult is the way to stay safe.
Dispense with friends' lives - when they impact on yours, think 'That's you, not me' and focus back on your own life. Comparison is the thief of joy.
Not having had sex with your dh for over five years is a problem. Is there anything that could make you want him? If not, time to go your separate ways.
No sex drive is often solved by finding a new partner. So I've read on MN, anyway.
He is overweight and depressed. Not actually your problem but is he getting any help for those things? You aren't responsible for making his life right but as you live together for now, you might want to suggest he finds help.
Can you get a better paid job, or make your job pay more?
Feeling stupid etc is just a side effect of your circumstances.
Mentally note every tiny moment of happiness, contentment or satisfaction. There will be more than you think.
There are many ways forward. Take tiny steps.