If you tell the truth, you don't have to remember anything.
Attribution uncertain
This attribution could not be reliably confirmed.
Commonly attributed to Mark Twain but I could not find a primary source or authoritative publication showing Twain himself using that exact wording.
Wikiquote — Mark Twain (Samuel L. Clemens)