Would you marry an infertile person?

So, this came up recently while I was talking to my girlfriend. We were discussing a situation (this post: https://www.reddit.com/r/NepalSocial/comments/1jfsg24/biratnagars\_biggest\_hospital\_almost\_destroyed\_my/) where a hospital almost made me infertile and destroyed my bloodline and my girlfriend asked,

"Would you marry an infertile girl?"

I replied honestly:
"Umm, hera, narmro lagxe ni lagos tara ma dhatera ramro banna khojdina. Malai kids chainxa na chaine haina, sablai nai chainxa. Tara mero gf le sakdaina bhanya thaha cha bhane ni I'll marry her... cause she matters to me. Mero wife le sakena bhane ni it's fine for me, kina bhane mero wife ho, hami afai ma family ho. Hami adopt ni garna sakxum. Tara koyi na chineko keti ho bhane ma gardina, kina bhane malai kasai na chineko, maya na gareko manxe mero priority haina."

Translation if my typo is bad:
("Even if it feels bad, I won’t lie to sound good. I personally want kids, almost everyone want it, but if my girlfriend turns out to be infertile, I will marry her because she matters to me. Even if my wife can’t, it’s fine because she’s my family, and we can always adopt. But if it’s a random girl with no emotional connection, I won’t marry her because someone I don’t love or care about isn’t my priority.")

After hearing this, my girlfriend became a bit low-key upset. I don’t know if it’s mood swings or if my answer hurt her.

Now I’m wondering, is my opinion wrong?
What's Your Take on this?