The author's purpose for including the parable about those who are punished for trying to leave their station is to...
c. foreshadow that the pearl is going to bring Kino conflicts.
This interpretation highlights the theme of social class and the consequences of attempting to change one's status, which aligns with the central conflict that arises for Kino as he pursues a better life through the pearl.