Going to have a 3rd miscarriage

I just don’t even know what to think. The first time I thought it couldn’t be real and then had hope that it wouldn’t happen again and it did and thought there is no way this could happen to me for 3rd time and yet it’s going to happen again. It’s just defeating. My husband and I have been trying for a year and I’ve lost all 3 of my babies. I’ve had every test done that could be done and there are no answers