@Gran Gran, welcome to you and no one, I believe, thinks your question is a joke. It's a valid question. We often see some form of "Will a better, i.e. more expensive, guitar somehow improve my guitar learning experience". You have received two thoughtful, considered answers and I am probably going to do little to add to those other than just reiterate.
There are probably a lot more of us senior learners, of great grandpa age, on these forums than most realize. I am conceivably (pun intentional) of that age. I have two grand-kids in their upper 20's😉. So biologically it's possible.
I was slightly younger than @Oldjock when I started. Santa brought me a nice "starter" kit. It was a Yamaha Pacifica guitar and a little practice amp. Shortly after I, fortunately, and I don't remember how, found Steve's Learn and Master Guitar. And my journey began.
But it wasn't long afterwards, 5 or 6 months perhaps, and I recognized a problem. I had been now dutifully practicing every day, for months, and I am not playing like Carlos Santana yet! There had to be a problem. And I knew what that problem was! I have a cheap guitar! I very convincingly explained the problem to my wife. She had, after all, delivered the Yamaha to me in Santa's stead and I didn't want to seem unappreciative nor offend her or Santa.
And then off to the local guitar store we went. And when we returned home I had a new Gibson Les Paul and a Fender Blues Jr. 3. And practice I did. And I made more progress. Although Carlos was not yet looking over his shoulder.
After a few more months with the new Les Paul I was sitting in my music room and there was that poor, dejected, lonely Pacifica sitting in the corner. Something prompted me to pick it up. And play it. And guess what?! It played great!
I had made progress and it was due to the fact that due to the excitement of the new Les Paul, I was practicing more. With retrospection, I had made it through the dreaded L&MG session 4 with that Pacifica. @Gran Gran, you're not there to session 4 yet and probably don't know what that means. You will. Session 4 around here is badge of accomplishment.
So "will a more expensive guitar help in learning how to play"? No. But anything that encourages us to pick up the guitar and practice will.