My life was in shambles mainly because of ADHD. Once I found drugs that helped a bit I managed to start programming and it turned out I am very good at it. Even though it's still daily struggle to put even 2-3 hours of work it's enough to make mid 6 figures after taxes. I am very lucky to be that talented. I often feel I don't really deserve it as others work harder and will never find that much success.
If anyone of you is always told how intelligent you are but struggle in school and work I encourage you to get tested for various conditions. Diagnosis and meds can change your life even if it doesn't cure you.