"Any man who rebels against your command" (Joshua 1:18). One might think even regarding words of Torah; therefore Scripture says, "only be strong and resolute" (Joshua 1:18). It is written, "And Amasa went to summon Judah, but he delayed beyond the set time" (II Samuel 20:5). He went and found the rabbis who had opened a tractate. He said: it is written, "any man who rebels against your command" - one might think even regarding words of Torah; therefore Scripture says, "only be strong."
Whoever Rebels Against Your Command, Yet Not in Matters of Torah
Yalkut Shimoni on Nach 7:3
כל איש אשר ימרה את פיך (יהושע א, יח) יכול אפילו לדברי תורה, תלמוד לומר רק חזק ואמץ. כתיב וילך עמשא להזעיק את יהודה ויוחר מן המועד אזל אשכח רבנן דפתחו במסכתא אמר כתיב כל איש אשר ימרה את פיך, יכול אפילו לדברי תורה, ת"ל רק חזק: