The greatest good for any human person is eternal beatitude. This is why our loving Father created us, redeemed us through his Son, and sanctifies us through the Holy Spirit. To remember this always and to apply it in daily life is wisdom. To forget it is not. Feelings are part of it, but not the essential part.
Feelings come and go.
We may well not feel like it at any point on the journey, but to remain faithful is a decision. A husband and a wife must be willing to sacrifice themselves for each other. Once they exchange consent and a valid marriage comes into being it is indissoluble. Only death can dissolve the bond, assuming that it is in fact a valid marriage. Imagine if the Lord Jesus one day decided that he'd had enough of our infidelity and walked out on us.