Somewhere around age six, your child decides how the world works. Good people win and bad people lose. If something bad happened to you, you probably did something to deserve it. Nobody sits them down and teaches this. They build it themselves, out of fairy tales, cartoons, and the score at the end of a soccer game. Then one day they're the kindest kid on the team and they still don't get picked, and they come home with a question they can't quite say out loud: If I was good, why did I lose?

Kerala has spent centuries answering that question, once a year, with flowers on the doorstep and a feast on a banana leaf. The answer is a king named Mahabali.

The story your child probably hasn't heard properly

Most children who know anything about Onam know it as a harvest festival with a big lunch. The story underneath is stranger and braver than that.

Mahabali was an asura king, grandson of the devotee Prahlada, and by every account a ruler worth having. The old Malayalam folk song still sung at Onam remembers his reign simply: Maveli nadu vaneedum kalam, manusharellarum onnupole — when Maveli ruled the land, all people were equal. No lies, no theft, no one going hungry.

The gods grew uneasy. A king this beloved, this generous, was becoming more powerful than heaven itself. So Vishnu came to him in disguise as Vamana, a small brahmin boy, and asked for a modest gift: as much land as he could cover in three steps.

Mahabali's own guru, Shukracharya, saw through the disguise and warned him. Mahabali gave the gift anyway. He had made a promise, and he did not take promises back.

Then the boy grew. With one step he covered the earth. With the second, the skies. There was nowhere left for the third. So Mahabali knelt and offered his own head. Vamana placed his foot there and pressed the king down into the underworld.

In most tellings, Vishnu is moved by this — by a man who kept his word even when keeping it cost him everything — and grants him one wish. Mahabali asks to visit his people once a year. That visit is Onam. The pookalam flower carpets, the new clothes, the sadya: all of it is a welcome home for a king who lost.

Tellings vary across regions and texts, and some families emphasize Vishnu's grace while others emphasize Mahabali's pride. That variation is worth knowing. But in Kerala's popular memory, the heart of the festival is the same: the people throw a party for the one who was good and lost anyway.

Why a six-year-old needs a hero who loses

Jean Piaget, studying how children reason about rules and wrongdoing, described something he called immanent justice — the young child's belief that misdeeds are automatically punished by the world itself. A child who lies and then trips on the stairs will often connect the two. The universe, in this view, is keeping score.

Adults outgrow the most literal version, but not entirely. Psychologist Melvin Lerner spent much of his career documenting what he called the belief in a just world: our deep, often unconscious need to believe people get what they deserve. It's comforting. It makes the world feel predictable. It also has a cost Lerner found again and again — when we see someone suffer unfairly, we're tempted to quietly blame them, because the alternative (that bad things happen to good people for no reason) is too frightening.

There's a cousin of this in decision research called outcome bias: the tendency to judge whether a choice was good by how it turned out, rather than by whether it was wise or right at the time it was made. Jonathan Baron and John Hershey demonstrated it in the late 1980s, and it shows up everywhere once you look. We call the risky bet that paid off brilliant and the careful choice that failed foolish.

Now look at what most children's stories teach. The hero wins. The villain falls. Virtue is proven by victory. Every one of those stories, however lovely, quietly reinforces the same equation: if you lost, you weren't good enough.

Mahabali breaks the equation. He is not defeated because he was wicked. He's defeated, in a sense, because he was good — because he kept a promise his advisor begged him to break. And the story doesn't pretend the loss didn't happen. He really does go underground. He really does lose the kingdom.

But then the story does something remarkable. It lets the people decide what the loss means. And they decide it means he was worth celebrating.

What this sounds like at the kitchen table

The danger with a story like this is turning it into a lecture. "See? Being good is what matters, not winning." A child can smell a moral being installed, and they'll nod and forget it.

The better move is to stop the story at the third step and hand them the problem.

Your child is going to have opinions. Some kids are outraged on Mahabali's behalf — that's cheating! Some think he was foolish for not listening to his guru. Some are angry at Vishnu, which can startle parents but is a perfectly reasonable response to the story, and one plenty of Malayali grandparents would recognize. All of those reactions are the child doing exactly the thinking you want: separating what someone did from what happened to them.

That separation is the skill. It's what lets a ten-year-old who wasn't picked for the team say "I played well and they chose someone else" instead of "I'm bad at this." It's what lets a teenager watch a friend go through something unfair without deciding the friend must have brought it on themselves. It's what lets an adult keep a promise that costs them something, because they've stopped believing that the cost is proof they chose wrong.

And for children growing up away from India, there's a quieter layer. Many of them will, at some point, feel that being who they are cost them something — a friendship, a seat at a lunch table, a moment of fitting in. Mahabali offers them a frame for that experience that isn't shame: you can lose something because of who you are and still be the one worth welcoming home.

The festival as the answer

It's worth noticing that Onam doesn't commemorate Vamana's victory. It commemorates Mahabali's return. The ten days from Atham to Thiruvonam are spent preparing for the visit of the one who lost — sweeping the courtyard, laying fresh flowers each day so the pookalam grows ring by ring, cooking more dishes than any family needs.

That's the part children can feel with their hands. The story says goodness outlasts defeat. The festival makes it true — every year, a whole culture shows up to prove that how Mahabali lived mattered more than how the contest ended. A child who helps lay the petals is participating in that verdict. They're not being told that character matters. They're helping honor it.

Your next moves

  • Tell the story tonight and stop at the third step. When Mahabali has nowhere left to offer, pause and ask: "What would you do? Was he right to keep his promise?" Don't correct their answer. Ask why.
  • Swap one question this week. When your child comes home from a game, test, or tryout, replace "Did you win?" with "What's one thing you did that you're proud of?" You're teaching them to look at the choice, not the outcome.
  • Make a five-minute pookalam. Use whatever you have — flower petals, leaves from the yard, colored rice, even torn paper. Tell them it's a welcome mat for a king who was good and lost anyway. Let them decide who else deserves one.
  • Share a real Mahabali from your family. A grandparent who kept a promise that cost them, an uncle who did the right thing and paid for it. Tell your child that story by name. Real people make the idea stick in a way myths alone can't.
  • Name a "Mahabali moment" when you see one. The next time your child or someone they know does the right thing and doesn't get rewarded for it, say so out loud: "That was a Mahabali moment." Give the experience a name and it stops feeling like failure.

Bringing the king home

Stories like Mahabali's are hard to tell well when you only half-remember them yourself, and harder still when your child has questions you didn't see coming. That's what KathaKids was built for: festival stories like Onam told in a way children actually lean into, with the background parents need to answer the follow-up questions and small rituals to make the festival something your family does, not just something you explain. If you'd like a little help welcoming Mahabali home this year, you can find KathaKids at baalkatha.lumenlabs.works.