Well I glad to know that you are smart enough and strong enough to hold out for a meaningful ilfe. That's the positive.
It's a good lesson learned and I believe you have grown from the experience.
Next time you will at least know some important 'get-to-know-each-other' issues.

I have a friend who got married and she really wanted a baby. The husband was a bit older and had grown up children already, did not want any more!! The marriage is not
comfortable...... I asked the wife if they had ever discussed this, she said yes they had but not seriously. He had told her no children, but she imagined it was not the end result.

Anyway Good luck for the future. Take your time