It’s never to late to learn something new, no matter what!
First rule - always buy the best you can afford.
A proper well setup guitar Is key, never buy a “cheap guitar for beginners” to start your journey.
It’ll spoil your guitar learning experience...which should be fun and really easy.
Second rule - make sure your new guitar has been setup for you with super slinky light gauge strings.
There is absolutely no point in punishing “virgin” fingers with heavy gauge, hard to okay strings.
Third rule - enjoy the guitar experience, take it slow, practice when you can and have a fun time learning.