I’d rather be an optimist and a fool than a pessimist and right.
Attribution uncertain
This attribution could not be reliably confirmed.
Multiple popular quote collections attribute this wording to Einstein but I found no primary source or reliable scholarly attribution showing he actually wrote or said it.