Michel De Montaigne said this quote

[Marriage] happens as with cages: the birds without despair to get in, and those within despair of getting out.