what was the lesson learned in The Swallow and the Pumpkins seed

The lesson learned in "The Swallow and the Pumpkin Seed" is that good deeds and kindness will be rewarded in unexpected ways. The swallow helps the pumpkin vine grow by carrying a seed, and in return, the pumpkin vine provides shade and shelter for the swallow's family. This fable teaches that acts of kindness and generosity can have far-reaching effects and lead to unexpected rewards.