Mark Twain said this quote

The man who is a pessimist before 48 knows too much, if he is an optimist after it he knows too little.