That’s what I mentioned before about the “thousand generations” and “Leia’s legacy” lines not feeling like they have any relation to one another. I think if possible it would make a lot more sense to switch the last two lines around, This way Luke’s dialogue about Leia is bookended with broader talk about the Jedi, instead of having a seemingly random interjection about Jedi generations and then going back to Leia. And I assume “Leia’s legacy” is chosing love over hatred, so it works better to put those two lines together.
If we are going with this dialogue, I think the new line could be mended a bit to help the dialogue flow a little better, how about something like this - “By training you as a Jedi, she confronted her fears and embraced love over hatred.” So the full dialogue would be:
“She was quick to learn in our training. But Leia feared the hatred that consumed our father, choosing instead to follow our mother’s path. By training you as a Jedi, she confronted her fears and embraced love over hatred. Let Leia’s legacy guide you on Exegol. A thousand generations live in you now, but this is your fight.”
You’re right that the incongruence I mentioned before could be explained as Leia fearing herself but trusting Luke, which is why she would send Ben over to him despite having trained as a Jedi herself. In TFA she regrets sending him away, and in this movie she overcomes her fears by helping Rey train. I still think it doesn’t make sense she would let Ben train at all if she perceived there was “too much Vader in him”, but maybe she allowed her son the choice to train regardless of her feelings, just like she took the choice to stop training.