Avot2: 14
רַבִּי אֶלְעָזָר אוֹמֵר: הֱוֵי שָׁקוּד לִלְמוֹד תּוֹרָה, [וְדַע] מַה שֶּׁתָּשִׁיב לָאַפִּיקוֹרוֹס. וְדַע לִפְנֵי מִי אַתָּה עָמֵל. וְנֶאֱמָן הוּא בַּעַל מְלַאכְתְּךָ שֶׁיְּשַׁלֶּם לָךְ שְׂכַר פְּעֻלָּתֶךָ.
'RElazar says: Be diligent in the study of Torah, [and know] what to answer a heretic. Know before Whom you toil, and [know that] your Employer can be relied upon to pay you the wage of your labor.