Except... they don't.
I mean, at 20th level the spell charts stop (or some arbitrary number) at that point Wizards, Illusionists, Clerics etc. stop gaining spells.
Druids capped at ... 18th? Illusionists at something like 16th?
In AD&D the fighter attack tables stopped, spell tables stopped...