Try everything you can to fix the marriage, but in the long run it cannot be fixed by only one partner. If the other partner refuses to acknowledge that there are problems or will not deal with issues, you have a decision to make. Staying in the relationship will destroy your happiness an can lead to serious health issues. And despite what most people say, it is not always better for children to be in a home with two parents. A happy, stable home is what is best for them, even if there is only one parent.
It takes two to tango, friend. It is not your job to make your partner happy. Marital happiness presupposes the individual’s happiness and the couple’s willingness to partner in infusing the marriage with joy, understanding, respect, and levity. Further, it is always helpful to enlist the expertise of professionals before the angst becomes deeply ingrained in the contours of the marriage. If your marriage is unhappy, work on your own happiness and then build upon your happiness.