Henry James said this quote

One never said the things one wanted — one remembered them all an hour afterwards. On the other hand one usually said a lot of things one shouldn't, simply from a sense that one had to say something.