The divine parents, Shiva and Parvati, decided to test their two sons, Ganapati and Kartik. They had to go around the world and return to their parents. The one who does it faster will receive a reward. Kartik set off immediately and walked quickly through the mountains and valleys, and Ganapati quickly walked around his parents – and the reward went to him. He said that parents are the whole world, and this statement was found to be correct. Ganapati became the deity responsible for acquiring knowledge and protecting all seekers from dangers in their path.