This is a story from Panchatanta which teaches a moral that even the weak can overcome the powerful by applying their mind.