I hate my body so much

My A1C is high. It’s like 7.6 and my doctor said that’s why I’m not pregnant. We’ve been trying over a year and it just tears me apart knowing it’s my fault. We still have a fertility appointment coming up but my doctor said I might as well cancel it and she doesn’t want me trying until my A1C has been normal for a year. I’m so devastated and my husband isn’t helping, he’s annoyed at me for being upset, and he keeps asking me what birth control I’m going on. I feel so alone right now. Normally I don’t blame anyone for being unsuccessful with ttc but the fact that my doctor even stated that this is why I’m not pregnant is awful. I really hate my body.