The movie establishes that Luke knows a few things about piloting and he might learn a few things from Han while they are underway. When he gets into an X-Wing, he's decent, but he's not "Fly the Falcon for the first time, still outmaneuver space superiority fighters while going through a maze inside a Star Destroyer-husk" amazing.
He's not "literally first shot ever with the Falcon's turret scores a tripple kill" amazing.
Luke would not have hit the shaft without Ben helping him a little. This was deemed something regular pilots can achieve, though.
Meanwhile, Rey fixes the Falcon in record time, despite not knowing how it works, she flies it expertly, despite never having done that, she then again fixes it in a way that even the owner is surprised by... and that's just the shit she pulls off in the first couple minutes and we haven't even yet gotten into how she's the most potent Force user ever, despite not even knowing the Force existed just a day ago.
So, sure. Luke's a total Mary Sue, after all, he has to train hard (on screen!) for everything he can do and then still struggles to succeed.
Totally the same as Rey just waltzing through 2 movies, never failing at anything on her first attempt.
Which is kind of hilarious. You'll have a fanzine with art by random teenagers and people in their early 20s, who merely draw for a hobby, all making amazing art with great line-variety, great colors, gorgeous composition... and then you have Dobson. Almost 40 years old. Has been an "artist" since childhood. Was a "professional" for at least 20 years. He even went to an art college specialised in cartoons.
And he draws blocky characters with atrocious anatomy, messed up composition, colors that look jarring and shading that makes everything look like cheap chinese plastic.
It's literally this scene, but unironic and no one is impressed: