There are never any guarantees. There are no deals with the universe. There are opportunities and nothing more, ever. Staying is an opportunity to keep working with that one person, and also an opportunity to play it safe and possibly keep the parts of the marriage that make you happy. Leaving is an opportunity to find a better way.