You cover the Lord’s altar with tears, weeping and groaning because he pays no attention to your offerings . . . You cry out, “Why doesn’t the Lord accept my worship?”
I’ll tell you why! Because the Lord witnessed the vows you and your wife made when you were young. But you have been unfaithful to her (Malachi 2:13-14 bold mine).”
If you want God to hear your prayers, keep your marriage vows.