Luke’s sacrifice in Last Jedi is beautiful as is his letting go of his fear. The scene where he fades into the force facing a rising sun is palpable.
And its all undone in Rise of Skywalker by bringing him back to lift the X-wing in an unnecessary scene.
Rey already had the training she needed watching Luke fail according to Last Jedi, but all of a sudden we need Leia to train her. Leia suddenly a Jedi Master who never was even a Jedi Knight.
These movies don’t work in sequence.