I taught myself how to play guitar starting in 1964 with the various Beatles song books that were popular then. They had chord names and fingering charts along with the words, so I tried to play along with my records. It was brutal at first, but worth the effort and persistence.
As other comments have said, before anything else, make sure your guitar is set up properly. A set of lightweight strings of the proper gauges is essential. Getting the bridge height and angle correct is essential. Making sure the neck is straight and the string height is low enough for your fingers is essential. If you don’t do those things first, it makes learning much more difficult and frustrating.
Beyond that, practice, practice, practice.
Good advice. Yes, you have to be determined. Practice is key.