A big banyan tree was home to a number of cranes in a forest. In the hollow of that tree lived a cobra, which used to feed on the young cranes which did not yet learn to fly. When the mother crane saw the cobra killing her offspring, she began crying. Seeing the sorrowing crane, a crab asked her what made her cry. The crane made the crab aware of everything about cobra.
Then the crab told the crane, "Uncle, strew pieces of meat from the mongoose's burrow to the hollow of the cobra. The mongoose will follow the trail of meat to the cobra burrow and will kill it."
The crane did as the crab advised her. The mongoose came following the meat trail and killed not only the cobra but also all the cranes on the tree.
Wise men should not only be resourceful but also know the consequences of being resourceful.