Upvote:1
I found two Judeo-Christian sources that suggest the tradition predates the modern codification of the Old Testament.
Last week, we discussed the disagreement quoted in the gemara on 32b regarding the type of zaken (lit., old person) whom one is required to honor. The tanna kamma (first authority [cited]) maintained that honor must be accorded someone only if they are both old and wise. Rabbi Yosei the Galilean argued that even a young scholar is deserving of honor. Isi ben Yehuda ruled that even an old person who has not acquired wisdom should be honored. Lesson on the Talmud
And
Thou shalt rise up before the hoary head, and honour the face of the old man, and fear thy God: I am the LORD. Leviticus 19:32 King James version
Alas, I can't trace it back any further than that.