The final conclusion, the meaning of the story, is foreshadowed in the second sentence when Gimpel declares that he doesn't consider himself a fool. At the end of the story we know that it was, in fact, not Gimpel who was foolish but those who mistreated and tyrannized him.
Gimpel the Fool