I've long believed most people can learn most things if they're willing (and able) to make the effort and have the right resources available to them.
When I left university, I started a job writing Android apps that required high-performance and low-level stuff, at the start I couldn't imagine it ever being "easy", I struggled at first to understand it all, and often wondered if I'd ever be good at it; but over time as I learned more and more of it, it got easier, then a few short years later I was a team lead, teaching others.
10+ years before this, as a child, I couldn't imagine understanding how to compile a driver for Linux and the dependencies and so on, I was tinkering with distros and reverse engineering/cracking software as a young teen, fast forward to now, I run Linux exclusively, write software targeting it exclusively and teach others as team lead (different company, different team, different role, different software, no longer client-side)
These are just two major examples that have affected my every day life, both of these things put me through immense frustration and took years to develop to "expert".
There have been others, but my take away was that I've done it before, I can always do it again, it gets a bit harder and a bit slower with age, but I've more experience underpinning anything I do try to learn (tech or otherwise) and am better at learning.
For me, it was all about proving myself, mostly to myself, and being unwilling to fail. These days, I pick and choose what it is if I don't believe I have the time or resources (or desire) to succeed, we don't have to be good at everything, just whats important; the aforementioned skills pay my bills, allow me and my family to live comfortably, etc. I could learn to play the piano (I still might), but I don't _need_ to.