"A related idea is this silly notion that 'with age comes wisdom.'"

There is a very similar thought expressed in "Farewell to Arms." I neither have a copy right now, nor remember the exact words. It is a conversation between the protagonist and an elderly, probably retired, gentleman in a hotel... Can anyone pinpoint what I'm talking about?