Why do men change their minds about marriage? Did I make the right decision to leave?

I just broke up with my boyfriend we have been together one year 4 months. He told me out of the blue he never wants to get married. We said I loves yous” really early in our committed relationship and we both agreed we wanted a serious relationship months ago together. But this is the first time I had any idea and I feel he was deceptive or changed his mind on marriage. I feel like throwing up inside. I have never loved any man this much in my life. Marriage is more important than a broken heart though.
My friends boyfriend said he also never wanted to marry but this year they started to look T rings. So what makes a man change his mind? I don’t want to invest two more years to be further disappointed. Please help. Also he said he never wants to loose his independence as a reason we live separate and he is 31 never married.

Updates
1 y
I get the risk of losing assets but trust me I lend this guy money all the time, and he told me He does not want kids a while back and I’m okay with it. I feel it’s more about his overall selfish nature. I hope to look back on this with a better Patner in the future and not look back to this heartache. I also feel he hid this on purpose bc I remember things he said to me in the beginning that were deceitful and admitted later he was “trying to worm into your heart”. He wants love without the
Why do men change their minds about marriage? Did I make the right decision to leave?
Post Opinion