She never said that: it's a folktale that predates her, and she was just one of the many people (generally women) that had the quote attributed to (in her case not before the 1830-1840s, in writing at least). More can always be said, but u/mimicofmodes and myself have addressed the question here.