Far too many people choose marriage/relationships as an option simply because they fear being alone or don't think they can do better. That may sound harsh but it's true. I know friends/acquaintences/etc. who have "settled" for a partner, not because they love the person, but because they simply don't want to be alone or don't think anyone else would have them, which is rather sad. (Hence why people stay in abusive relationships, but I digress as that is a bit of an oversimplification and OT)
There is nothing wrong with wanting a relationships/marriage, but for the right reasons. Not because 'something is better than nothing'. To have a healthy marriage or relationship, you have to really want to be with the person, be there for them, and be willing to put their needs/wants ahead of your own (and vice versa, of course)and that requires a bit of insight and maturity. I think it's really easy to say we want this or that, but not examine the motives of why. And sometimes the motives aren't healthy, realistic or reasonable.
Think of people you know who are in unhappy relationships, for example. I know a few people who's justifications are, 'well we've been together x years, and it seems a pity to throw it away'. Throw what away? You're both miserable, and are wasting time together when you could be with someone that you enjoy being with. Then they do something really dumb, like get married, and then divorce when the realization finally dawns on them that the marriage was there to fix the relationship that no longer worked. Well done, waste a ton of time and energy beating a dead horse.
So, it's down to motives. If your motives are pure, regardless of what you choose, and if you're willing to put in the hard work of a relationship or marriage, good on you. If its because your miserable, and well so the person your with is miserable but at least your not alone. Move on. Unless you want to prove how well misery loves company.