Isaiah said: See how evil is the end of those who drink wine. Isaiah said (in Isaiah 5:11): "Woe to those who rise early in the morning to pursue strong drink, who tarry late into the evening while wine inflames them." The Holy One, blessed be He, said: Since wine causes such things, it is only right that I command the priests that they should not be drinking wine while they minister before Me. Thus (Leviticus 10:9): "Drink no wine or strong drink."
Why the Priests Are Forbidden Wine While Serving
Midrash Tanchuma Buber, Shmini 7:4
(ישעיה אמר) ראה מה אחרית רעה של שותי יין [ישעיה אמר] הוי משכימי בבוקר שכר ירדופו מאחרי בנשף יין ידליקם (ישעיה ה יא), אמר הקב"ה הואיל וכן היין גורם, בדין הוא שאצוה את הכהנים שלא יהו שוין יין ומשמשין לפני, הוי יין ושכר אל תשת.