Another matter, “have you seen a man diligent in his labor…,” these are the righteous who are engaged in the labor of the Holy One blessed be He; therefore, “he will stand before kings,” as they stand resolute in the Torah, as it is stated: “Through me kings reign” (Proverbs 8:15).3This statement is stated from the persective of the Torah. Thus, one who stands resolute in Torah is able to stand before kings. “He will not stand before dark ones,” these are the wicked, as it is stated: “Their deeds are in the dark” (Isaiah 29:15), and it is written: “Let their way be dark and slippery” (Psalms 35:6).
David's Diligence From Shepherd Boy to King
Shir HaShirim Rabbah 1:3