I always thought this was a great line! Talk about wit! .. It is often attributed to Shakespeare but doesn't appear in any of his plays. It has been speculated that it is a paraphrase from "Much Ado About Nothing" - Act 1, Scene 1. Lines: 56-63
Also: what Shakespeare probably intended the moral of the story to be is "you should listen to your parents." No, really. During this time period, that makes more sense. (As told by my History 240 prof.). Think about it.