In Daniel Defoe's Roxana, the main character of the same name has a very particular view of marriage, given that her own was so terrible. In her own comical way, Roxana warns women to never marry a "fool". Other than that, marriage could possibly be a good thing. However, marrying a fool is the worst thing a woman can do.
Roxana has not had a very good experience in marriage. Her former husband leaves her and her children abandoned after spending all her money. Out of spite, Roxana becomes the mistress of countless of men who are interesting and promising. From these experiences, she gets to feel what it is like to be in charge, for once in her life. This is also how she concludes that marriage may not be a bad thing, as long as the person you marry is worthy of being with you forever.
In the end, Roxana does marry a Dutch merchant with whom she had a good intimate relationship. She does end up repenting about her sexually-charged life, but we know she would have done it twice over after the horrid experiences she lived with her first husband.