In Kiddushin 34a:4 in the context of hakhel it states
אָמַר רַבִּי יוֹחָנָן אֵין לְמֵדִין מִן הַכְּלָלוֹת וַאֲפִילּוּ בִּמְקוֹם שֶׁנֶּאֱמַר בּוֹ חוּץ R. Yohanan said: We cannot learn from general principles, even where exceptions are stated.
For limud torah, what's the epistemic value of general principles, i.e. what would be their use / purpose if one cannot learn from them (even scoped w exceptions as above)?