There are several morals to this story.
1) Be smart, but not too smart.
2) Be ahead of the curve, but not too far ahead of the curve. How can you tell the difference? It's easy. When people start to resent you and your ideas, you're too far ahead and it's time to back off. And if they threaten you, then you're way too far ahead of the curve.
3) Even stupid people know when someone is making them look stupid in front of other people and they find that galling and may do away with the person who is t-f-a-o-t-c in any number of sneaky ways.
They might beat the person to death and say he fell down.
They might fail to call for timely help when it's urgently needed.
They might make a mistake, say during an operation, which could prove fatal.
Or they might blow his brains out with an exploding bullet when he's riding in a fancy car next to his beautiful wife on a pleasant sunny day and then kill the man they said did it so the case could be quickly closed and no one would ever know what really happened.
So that's what can happen to little boys who are too far ahead of the curve and make other people look stupid and immensely annoy them.
And little girls, too.
The Big Book of Grim Fairy Tales
for the Depressed Young Reader