“By all means marry; if you get a good wife, you'll be happy; if you get a bad one, you'll become a philosopher.”
The idea behind the quotation
Marriage may bring happiness when one’s spouse is good, while a difficult marriage may lead someone to reflect deeply and become philosophical.