Olive oil — how did they make the oil? Our teachers taught: the olive trees that produced fine fruit were known to them. They would take them and crush them. The first oil that came out they would set aside for the menorah, and the second after it for the meal offerings, to fulfill what is said, "pure beaten olive oil for the light" (Exodus 27:20). The Holy One, blessed be He, said to Israel: In this world you were dependent upon the light of the Temple, but in the world to come, by the merit of that lamp, I will bring you the Messianic King, who is likened to a lamp, as it is said, "There I will make a horn sprout for David; [I have prepared a lamp for My anointed one]" (Psalms 132:17). And not only that, but I will make light for you, for thus said Isaiah, "And the LORD shall be for you an everlasting light, and your God for your glory, etc." (Isaiah 60:19).
Pure Beaten Olive Oil and the Lamp of the Messiah
Midrash Tanchuma Buber, Tetzaveh 6:2
שמן זית, כיצד היו עושין את השמן, שנו רבותינו הזיתים שהיו עושין פירות יפין היו ניכרין להן, היו נוטלין אותן וכותשין אותן, השמן הראשון שהיה יוצא היו מפרישין אותו למנורה, והשני לו למנחות, לקיים מה שנאמר שמן זית זך כתית למאור, אמר הקב"ה לישראל בעולם הזה הייתם זקוקים לאורו של בית המקדש, אבל לעולם הבא בזכותו של אותו הנר, אביא לכם את מלך המשיח שנמשל לנר, שנאמר שם אצמיח קרן לדוד [ערכתי נר למשיחי] (תהלים קלב יז), ולא עוד אלא שאני עושה לכם אורה, שכך אמר ישעיה והיה ה' לך לאור עולם ואלהיך לתפארתך וגו' (ישעיה ס יט).