This, and I mean it in a kind way, is totally batshit absurd and thinking this way will only hold you back. I know the feeling. I felt it myself and spun my wheels for years because of it.
When I turned 30, I had just graduated from business school (which I went to because I couldn't figure out what to do with my life). I had never built a real piece of software, and object oriented programming seemed to be too much for me - I too had started that journey with C++ and failed. (For me, it was Ruby that made it click, for what it's worth).
So here I am, 30, with some interest in technology with an MBA and no programming skill. I truly thought I had wasted the last 8 years of my life since college. What was I doing during those years. I was working at NASA. On the Hubble Space Telescope. I was paid to scuba dive with astronauts and build hardware that would fly in space. I own not one, but TWO pieces of the actual Hubble Space Telescope that flew in space. Looking back, that job was a dream come true - jobs do not get much better. But at 30, looking forward I thought it had all been a waste of time - my 20's were gone, and I was woefully unprepared for the business I wanted to start. There were people smarter, younger, and more successful than me everywhere I looked.
It was a ridiculous way to think for me, and it is for you too. Enjoy life, and don't compare your inside to someone else's outside.