Learning compounds, not only because new skills can be utilized to learn yet further skills, but over time, the more you learn, the more faith you have that you can learn. Greater faith leads to greater ambition when selecting new topics to learn and more enjoyment of the learning process itself.
This insight, so eloquently written in this quote from the book Dune, is something that I have tried to impart to my own kids, and even young developers that I have mentored. Guiding them on how to think critically and analytically. Guiding them on how to learn, so that they might apply those skills, and acquired trust in themselves, to the topics/hobbies/work that they become passionate about.
Ultimately, once you have the basic trust that you can learn, it all comes down to patience, effort and time.