Should have looked it up before commenting....It was Twain.
Actually, I did look it up. It is unclear who is ascribed to saying this. Probably each said much the same thing in slightly different ways. Not really the point here.