Chanakya was insulted at king nanda's kingdom and he wanted to take revenge for his insult. Soon, he meet a child name chandragupta who was bright. Chanakya started to teach him. He collected enough money to raise an army for chandragupta. He taught them about battle strategies and taught chandragupta all about rights and duties of a king. Chanakya remembered how he was insulted in kingdom of king nanda and decided to attack his kingdom first. Chandragupta army was inexperienced compared to king nanda's army and was not able to stand up to them. As result, chandragupta was defeated and had to flee along with chanakya and hid in woods. One day as chanakya entered village in search of food, he passed by a hut. There he heard excited voice of a child. Chanakya saw that mother was serving him hot rice porridge. As soon as, boy started to eat rice porridge, he started to cry saying that his fingers got burnt. Seeing this, mother said, "Of course, they will get burnt because you acted as foolish as chanakya."Intrigued and curious chanakya entered into room and before woman could say anything he said, "Sorry to barge in like this but I just came in to inquire meaning of your words."Woman was surprised but still replied, "I was merely telling this kid to eat properly. I served him hot rice porridge and he should have realized that it was hottest at the center and start eating from outer fringe which cools down first.""Yes, I get that but what has it do with chanakya's foolishness?", questioned chanakya. Woman replied, "Everything. chanakya is foolish, he went and attacked nanda's kingdom at the outset instead of conquering small kingdoms all around before going to the center.just like a child trying to eat hot porridge from middle..! that's why chanakya lost and had to flee."Chanakya was surprised and humbly replied, "Thank you mother. you have taught me a wonderful lesson in war strategy. I shall not make same mistake second time."Saying this chanakya left. Later he reorganized their army and set about conquering small kingdom first and eventually succeeded in ousting nanda's kingdom from pataliputra. 
Wise person learn from anyone and everyone and as soon as he understand his mistake, he corrects them and move forward. 