Vayikra / Leviticus 19:32
מִפְּנֵי שֵׂיבָה תָּקוּם וְהָדַרְתָּ פְּנֵי זָקֵן וְיָרֵאתָ מֵּאֱלֹהֶיךָ אֲנִי יְהוָה׃
You shall rise before the hoary head and honour the face of the elder, and you shall fear your Almighty. I am the Eternal.
Pshat פְּשָׁט
Rise before the hoary head
Rashi: the "elder" here is one who has acquired wisdom. Honouring him means not sitting in his place and not contradicting his words. And "fear your Almighty" is said because pretending not to notice the elder can be done in secret, and only the heart knows. Ibn Ezra: an old man is close to death, and the commandment speaks of every grey-haired person.
How Rashi and Ibn Ezra explain it
Remez רֶמֶז
One who acquired
Rabbeinu Bahya: the elder is honoured even if he is young but wise, for an "elder" is one who has acquired wisdom. In the Targum, "hoary head" means one versed in the Torah: "rise before the hoary head" is the Written Torah, and "honour the elder" is the Oral Torah. Kli Yakar: "elder" (זָקֵן) is a word made of two. One who acquired his fullness in a few days is like a man of seventy.
How Rabbeinu Bahya and Kli Yakar explain it
Drash דְּרָשׁ
Wisdom earned by toil
Lekach Tov: the "elder" is a sage. Honouring costs no money, just like rising, and "fear your Almighty" is said of one who shuts his eyes as if he had not seen the elder. Kli Yakar: the grey-haired are honoured for the wisdom that came to them with the years, and one who acquired wisdom by toil is honoured even more.
How Midrash Lekach Tov and Kli Yakar explain it
Sod סוֹד
The fear of a loving son
Kedushat Levi: a beloved son fears not punishment but causing pain to a loving Father. The righteous man fears the attribute of mercy: grieving the One who wants only to do good. Grey hair and the elder are an image of mercy, for at Sinai He appeared as an elder full of mercy. Agra DeKala: "elder" (זָקֵן) points to the thirteen parts of the beard, and before it a person feels shame, so it says "and you shall fear".
How Kedushat Levi and Agra DeKala explain it