That assumes there is not some medical condition preventing one of the partners from participating in sex. . .right?
Notice I used the word "refusal" rather than "inability"
That said, there's more than one way to keep your spouse happy if you are motivated to do so