Talmud for Berakhot 70:7
ר"ש בן יוחי אומר אפשר אדם חורש בשעת חרישה וזורע בשעת זריעה וקוצר בשעת קצירה ודש בשעת דישה וזורה בשעת הרוח תורה מה תהא עליה אלא בזמן שישראל עושין רצונו של מקום מלאכתן נעשית ע"י אחרים שנא' (ישעיהו סא, ה) ועמדו זרים ורעו צאנכם וגו' ובזמן שאין ישראל עושין רצונו של מקום מלאכתן נעשית ע"י עצמן שנא' (דברים יא, יד) ואספת דגנך ולא עוד אלא שמלאכת אחרים נעשית על ידן שנא' (דברים כח, מח) ועבדת את אויביך וגו'
R. Simeon b. Johai says : Is it possible for a man to plough at the time of ploughing, sow at seed-time, reap at harvest-time, thresh at the time of threshing, and winnow at the time of wind — what is to become of Torah? But when Israel perform the will of the All-present, their work is done by others; as it is said, "And strangers shall stand and feed your flocks," etc. (Is. Ixi. 5) ; and at the time when Israel perform not the will of the All-present, their work has to be done by themselves ; as it is said, "And thou shalt gather in thy corn." Not that alone, but the work of others will be done by them ; as it is said, "And thou shalt serve thine enemy" etc. (Deut. xxviii. 48).