Congratulations on your decision to dedicate time and energy to learning to play a musical instrument. The guitar is my favorite as it is one of the most versatile instruments in the world for playing many types of music using many different playing styles and techniques. Plus you can sing while playing the guitar if that's your thing.
As you have discovered, it takes a great deal of dedication and practice to learn to play the guitar. Many (most actually) aspiring beginning guitarist grow frustrated early in the process and give up.
I teach beginner guitar. My goal with a new student, is to help them quickly connect with the joy and gratification of learning to actually play some music they personally enjoy. Then they will become more passionate about learning to improve their skills and may eventually develop a thirst for learning more advanced techniques so they can learn to play even more songs they love on their instrument.
Learning to play guitar is a chosen hobby and not mandatory. So if practice becomes too much like work or too boring, repetitive, mundane or tiring - you will never develop the passion and desire to continue to improve. I believe that they key to keeping a beginning guitarist from burning out, is to get them having fun as quickly as possible! When playing is fun - a student will want to put in more time with their instrument!
Even playing things you enjoy just for fun will help you improve your skills, timing, rhythm, and technique.
Of course, there are some very basic exercises a beginning student must master before he/she can play much on any instrument. Some basic ideas on how the instrument works, how the notes are laid out, and some hand coordination and basic rhythm exercises are probably fundamental to making much progress with playing actual music. With guitar, I like to start with some very simple and easy chords and chord changes.
My goal with a new student, is to help them quickly get to a point where they can play at least a simple rendition of some songs they will enjoy playing. I start by teaching the minimal skills they need in order to actually play their first song. Then I build on that to help them learn another song in the same key. Eventually we learn new chords in different keys and they can learn more songs. The idea is, I teach basic chords, rhythm, and strumming patterns as the building blocks to learning to PLAY music they enjoy!
I suggest you learn to play complete renditions of songs that you like. Start with very simple arrangements using songs that can be played with basic easy chords. Focus on building your repertoire (number of songs you can play). As you learn new songs, you will need to learn new chords and new chord changes and new strumming techniques.
You don't have to work on every skill a guitarist might need all at one time. If you focus on learning one song of your choosing because you know you will enjoy playing it - then the practice needed to master the new chord changes or strumming pattern will not seem so much like work. You have a simple very achievable goal to focus on (learn to play Song X). Each new song you decide to learn should stretch you just a bit so that each time you set a new goal to learn a new song, you will force yourself to learn a new chord or a new technique.
The point here is to take it in small steps that lead to a reward (the satisfaction of knowing you conquered yet another song on your list) relatively quickly. The other point is to make sure that you are thoroughly enjoying your playing time - which will increase your passion for playing and desire to learn more songs - which will require actual "practice" to learn the new chords etc.
Finally, while you are in the beginning stages of learning guitar, keep your practice/playing sessions short but practice several times per day. A good schedule might be 30 minutes in the morning, 30 minutes at lunch, and 30 minutes in the evening - depending on your personal time constraints.
Shorter sessions will give your finger and hand muscles time to rest before they get too tired. Shorter practice sessions will keep you from getting frustrated and burned out. Be sure that every practice session incorporates as much fun (playing) as it does work (practicing). As you develop more stamina and the number of songs you are able to play for fun increases, you will actually look forward to picking up your guitar and it will become harder and harder to put it down!
Good luck on your journey towards a hobby and skill that can bring a lifetime of enjoyment for yourself and those you choose to share your music with. Most importantly - HAVE FUN!!