Deleted scene description from TLJ (source: /Film):
"The scene in question involved a prominent bit of Jedi training between Luke and Rey that occurred right after the two’s talk inside the cave where Luke mentions Darth Sidious. Rey notices a big fire on the beach and is told by Luke that it’s a group of invading bandits who regularly come to the island to steal from and kill the caretakers.
Rey’s hero skills immediately kick into action, although Luke warns her that helping the caretakers now will only result in the bandits coming back stronger at a later date. Luke tells Rey that a true Jedi acts only to maintain the balance, even if that means people get hurt. Rey ends up ignoring Luke’s advice, however, and she springs into action.
The scene cuts to Rey running towards the beach with her lightsaber. The Force propels her to run even faster. Luke yells for her to wait but she doesn’t stop. When she gets to the beach ready to defend the caretakers, she realizes the fire is not from a bandit attack but from a celebration the caretakers are having on the beach. Both Chewbacca and R2-D2 are taking part in the celebration, as are the native porgs.
Rey returns to Luke angry at him for lying, but he tells Rey that this was simply another task as part of her Jedi training. Her decision to spring into action is what the Resistance needs right now, Luke argues, not the old Jedi order he represents. He lied to prove to Rey that he Resistance needs her, not him. Rey breaks down, saying, “That old legend of Luke Skywalker that you hate so much, I believed in it.” Luke realizes he pushed her too far as Rey storms away.
The scene was cut from the movie because Luke ended up coming off as an even bigger curmudgeon, /Film says."
This entire sequence re-enforces the idea, that RJ went out of his way to to put both Luke and the Jedi in the worst light possible, an aspect of the film I truly despise.