Boyfriend is leaving me and trying to take our child because of my weight

My boyfriend is leaving me... He says He's tired of me not caring about my health or our child health. I was already overweight when I got pregnant. Of course I gained and since I had the baby I completely let myself go. I went from 257 to 613 in just three years. And our child is also overweight because I don't feed her a good diet... Idk why... Maybe I feel like if she's eating like this with me I won't feel so disgusting. My boyfriend put her on a diet because the doctor said she is very overweight for a three year old and I haven't kept up with his quiet. I'm always giving her junk and we eat junk in the middle of the night. Last month I got diagnosed with diabetes... My boyfriend said if I want to kill myself then whatever. He done trying with me, but that he isn't gonna risk our daughters health... Our daughter is in the 98th percentile... I'm losing my husband and my daughter...

He's my boyfriend but I do call him my husband sometimes... But it seems like he's becoming an ex...