Punish them.......seriously, they would punish them.
Teachers do not like it when they have certain students who are way ahead of the class, look at the resentment so many asian kids get for trying to get ahead.
My son asked to be transferred back to our neighborhood school. It took 3 weeks to catch up on work that his classmates were doing in the neighborhood school that was not being done in the "barrio" "magnet" school. He not only caught up, but kept accelerating his efforts. I checked his English compositions after the "teacher" corrected them. Total crap...on the part of the teacher. I finished the job and made him rewrite the papers. In the end, he was tutoring the AP classes in high school in evening sessions. He often stepped in for the assigned teacher because he knew the material better than the teacher. His exam scores were 5 on all tests. Final GPA was 4.33.
Back to the original issue. Doing significantly better than your peers may result in punishment by the teacher and your peers. Expect it. Don't let it impede your desire to excel. The world is full of Luddites.
Teachers do not like it when they have certain students who are way ahead of the class,....
****
If I can make that “Many teachers”, I will agree with you. It’s sad but true. (Retired teacher here.)