Nothing wrong with trying to make something work. Not just in relationships, but business as well.
But in an effort to make something work, you have to address the root cause of potential failure. Too often people believe the solution to problems is just to toss more money on a burning fire. More often than not, all someone does is exchange one problem with another, causing more stress. This doesn't 'fix' the problem, only creates new problems to worry about... strengthening chains to the relationship.
In business, as an example, I had a business in the late 90s that was suffering due to the dot com crash, my solution at the time was take on an equity investor. This had the effect of solving a near term cash flow problem... however it created a new problem of an investor that became nothing but a pain in the @ss. What I should have done is realize that the nature of the business (middleware development) was becoming obsolete. When I realized that I needed to change my business model, I now had a 'partner' that didn't agree and fought me... anyway... I got called back on active duty after 9-11 and the business failed. When I finally got back from active duty the only solution was the shut down the business. I made my investor whole, but the dude continued to hate me because all I did was get his money back (yeah I know... but this is another life lesson... the only people that no one hates are people that do nothing)... that chased me for YEARS. I spent two years of EPIC stress for nothing... what I should have done is just shut the fvcking thing down. Anyway I learned from this and never did anything like that again. During the fiscal crisis of 2008, I closed businesses, yeah... people hated me, but it allowed me to focus on new business opportunities. Again during Covid, same thing, closed a business that was going to fail... I could have taken Covid money to keep the thing afloat, but then I would have a mountain of debt around my neck like a millstone. Again, I shuttered that thing... and again, many hated me mostly because I had to lay off MANY. But when things opened up again, I just restarted. Many people I was in competition with are gone, but the owners were forced into bankruptcy because they took on Covid debt.
As far as marriages, well.... I know several couples that just spend and spend and spend in an effort to fix the relationship... buying new homes, building pools, new cars... having kids... I know a couple now that bought two houses in the last 5 years, I'll go several months without seeing them, and when I do... they have new cars. They are still unhappy, like a junky that needs a 'fix' then keep things on the track by spending money. Another couple, with serious marital issues... well they had a kid... now they have pulled in another person into their sh!tshow. Another man I know married a woman that has low happiness potential (but she is hot... which is actually very hard to maintain). The dude is spending truckloads of money on shrinks and ketoimine treatments (she is depressed).... anyway I could go on and on too many examples to list them all here.
You have to address the ROOT CAUSE of a problem. If you can fix the root cause, sure go ahead and do it, but sometimes there is NOTHING you can do about the root cause accept to just end things and start over. Yeah, people are doing to hate you but that is better than digging deeper into a hole and making your life a living hell. It's like that old Kenny Rodgers song "The Gambler".