Odds are that until you can get past this mindset, you will hit a similar wall in every career, it will just be less obvious to you that you're hitting it.
Success at most careers means a lot of tedious grinding out basic skills. If you're lucky you like the grinding, but that's rare.
And here's the important part - getting better at this stuff makes the job more fun, humans really like the feeling of mastery. My first 4 years in SWE were miserable because I had no CS background. But I ground really hard on textbooks and leetcode, every minute of which was uncomfortable, and now my career is awesome!
Maybe SWE isn't for you, but whatever you do, commit to the work.