Can I ask why you were depressed?
Looking at your posts, I'm guessing because you've been with this man since you were a child, and are afraid to leave. Because he belittles you at every turn, lets you take on the burden of the housework, and has completely undermined your confidence. But you have no-one to compare him to, because you've never been with anyone else, so you're not even sure you're allowed to be upset.
The positive changes you make go unnoticed, and you feel unsupported in your attempts at self-improvement. You're unhappy, and enmeshed with your husband. And he's either bored of you, or so insecure he feels the need to constantly put you down and erode your confidence, to keep you with him. The contrast between this reality, and the part of you that wants to believe you're happy and he loves you really, is what's making you feel "insane", OP. You're basically trying to gaslight yourself, but there's a part of you inside that sees it and keeps rebelling. That says "No, actually, I deserve better". You do.
You got into this relationship when you were just a child, OP. You've never had the chance to find out who you are an independent person. When you add onto that the fact that you don't have friends (or anyone else to talk to) and are further isolated by working from home . . . of course you think your partner's opinion of you is the only one that matters. Of course you define yourself through him. It makes sense.
That doesn't make it right, though. You need to break out of the codependency, and assert your own identity. You need to find YOU again, because I think you've lost her.
That would make anyone depressed. Before you beat yourself up too much about the depression though . . . it sounds like you were still working full time from home and doing all the cooking and cleaning, during this time? If that's the case, you're not lucky your husband stayed with you. He's lucky he married you. You're superwoman, and he doesn't deserve you. So you put on a bit of weight! You let one thing slide - your appearance - while you kept up with everything else. He has no right to shame you for that. He should get to the nearest mirror and spend the next hour wobbling his ungrateful head, frankly.