(Exodus 27:20:) CLEAR OIL OF [BEATEN] OLIVES FOR THE LIGHT. By the custom that is in the world, if a person has bad oil, he lights it in a lamp; but the fine oil he puts into a cooked dish. In the Temple, however, they would not do so. Rather, the clear olive oil they would put for the light, and the one second to it they would put for the meal offerings. David said (in II Samuel 22:29): "For You are my lamp, O LORD," and so forth.
Why the Temple Burned Its Purest Olive Oil in the Menorah
Midrash Tanchuma Buber, Tetzaveh 3:2
שמן זית זך [כתית] למאור, בנוהג שבעולם אדם אם יש לו שמן רע מדליקו בנר, אבל היפה הוא נותנו בתבשיל, אבל בבית המקדש לא היו עושין כך, אלא שמן זית זך היו נותנין למאור, והשני לו היו נותנין למנחות, אמר דוד כי אתה נרי ה' וגו' (ש"ב כב כט).