When the sage, Ved Vyasa decided to write the great epic, Mahabharata, he realized that he needed a writer who could write the verses as quickly as he recited them.
So, he approached Lord Ganesha and requested him to become the writer.
Lord Ganesha agreed to his request and said, “I have one condition. You must narrate the entire epic in one go. If you ever stop in between, I’ll come back to my abode.”
Sage Ved Vyasa replied, “I agree, but you should also promise that you will write the text only after understanding it.”
Lord Ganesha agreed. Soon, they started writing the Mahabharata. Ved Vyasa dictated the verses, while Lord Ganesha kept writing them in the manuscript. Whenever Ved Vyasa was tired and wanted to take a break, he would recite some difficult words. Lord Ganesha would stop writing to understand their meaning, and thus provided some respite to Ved Vyasa.
Finally, Ved Vyasa managed to dictate the entire epic in one go. Lord Ganesha had written over ten thousand verses to complete the Mahabharata. Ved Vyasa thanked him for his efforts. Lord Ganesha blessed him and went back to his home.