CDM if I may be so bold, the question is a good one, because it cuts to the chase...this is the 'better or worse' part of the marriage vow....
We never know what lies around the corner.
And as you rightly say, we should not respond in a way that looks idealistic and good.

I know what I would do.

I KNOW what I would do.
And I know WHY I would do it.

And you can probably guess what I'd say I would do, and why.

Thank you for the question.