This quote can't be attributed to Socrates. It's most likely from a satirical play: https://www.bartleby.com/lit-hub/respectfully-quoted/socrate...
You do realize that societies rise and fall, right? Greek culture was falling from its golden age around the time of that quote (regardless of who actually said or wrote it). Things would soon get so bad Plato recommended his disciples drop out of society into a sort of monasticism.
The only older than elders writing off the youth is the youth proving them wrong. Let's hope some follow Charlie's quote instead: "If you've got anything you really want to do, don't wait until you're 93. Start now, and don't stop!"