"Generation after generation" here is an idiom that refers to each generation that lives after another. Alternate translation: "your descendants belonging to all future generations may learn" or "all your descendants may learn forever" (See: [[rc://en/ta/man/jit/figs-idiom]])