Learning the guitar is a never ending journey. I've been playing for many years, and I still learn new things on a daily basis, including new techniques that I can use while playing, or making up new guitar songs. Starting out on this journey is undoubtedly the hardest part of it all, since you basically have to teach your fingers and mind a brand new skill, sort of like learning to walk.
The initial stages of teaching yourself to play guitar can be very demotivating, since in the beginning, each new chord, chord change, barre chord, etc. will be a struggle. This is why over 60% of newbie guitarists quit withing a very short amount of time. And this is why it is very important to keep yourself motivated during the early stages of your career as a guitarist.
I've found that the best way to keep new players motivated is to have them playing songs on their guitar right from the beginning. Through learning easy guitar songs for beginners, you will practice while making real music, which is what motivates you to practice even more. There are many guitar courses that have you doing rigorous exercises, and that just does not work. Why?