Losing hope in a pregnancy after loss

C

I went for hcg testing because of an ectopic pregnancy last year. And the numbers didn't look good. It took us almost a whole year of trying for this pregnancy. If this pregnancy isn't viable.. I truly don't want to try for more. This is so hard, I'm only 22. But it hurts so much to watch my body fail me repeatedly, and to have my husband give through losses because of it too. Any words of advice out there?