Don't get married unless you are 10,000% sure. People invariably get sick of each other over time. It can feel like a prison sentence. Real life is not the movies.
"Relationships take work". Yes. Absolutely. But would you buy a car that costs $50k or more to dispose of after it's broken down and unrepairable?
People are different. Even if 10000% perfect matches, there will be issues in between. Just give sometime.
Multiple solutions are there, like counselling. Understanding each other plays a big role. If you are parents, you gotta hell of responsibilities and less time for arguments.