That's literaly my story.
Have been the 'best' in class for years ( only competition was with the girls, who work harder than boys) until I failed.
I wanted to be a 'forest guard' but was told it was too easy. When I selected english as first foreign language they told me I was lazy...
School was torture most of the time, esp junior high school where I got bullied because I was so 'weird'. IQ diagnosis at 13 did not really help, the 'psy' was an asshole and the results were expectations from family were raised instezd of adjusted.
Ended up jn the Navy ( try watching effing liners on a radar screen in the Middle of the night with ADHD. I was very good during rais but fell asleep otherwise). Then I moved to IT and got an OK career 'cause computers understand me better.
I realized I'm #actuallyautistic at about 50, learned about exécutive dysfunctioning some years later ( I thought I was lazy) and about ADHD at about the same age. In my family ADHD are expected to be physically hyper active, and the understanding of psychology is void.
Trying to work my way through this at 58 ain't easy everyday, and it took a burnout to learn this.