Fictional examples of "punished for succeeding"?

In WATCHMEN, a retired superhero reminisces about his schoolboy days: “I was already exceptionally bright, my perfect scores on early test papers arousing such suspicion that I carefully achieved only average grades thereafter.” As a teen, secret identy then ensued.

Convergent.

The Last Starfighter got really good at an arcade game only to be rewarded with conscription into an army.