Jokes aside, my advice would be this:
Talk to your doctor. See if you are at an acceptable weight, or whether your health is/is going to suffer for your weight. If you are healthy, divorce. Your husband is just a shallow asshole. If you are not or are borderline, try to lose the weight. He has your health in mind when he says those things.