The easy path is more tempting. The difficult path is more rewarding.
Learning something difficult, however, is beneficial in and of itself. The process is the prize. Struggling with code, while frustrating, is medicine for the mind.
Don’t quit! Struggling with coding is like taking your brain to the gym.
I’ve been a mainframe programmer for 26 years and still get a rush when programs work as designed.
If you find something difficult, not doing it won’t make it any easier.