Ecclesiastes 9:13-16 NLT

13 Here is another bit of wisdom that has impressed me as I have watched the way our world works.
14 There was a small town with only a few people, and a great king came with his army and besieged it.
15 A poor, wise man knew how to save the town, and so it was rescued. But afterward no one thought to thank him.
16 So even though wisdom is better than strength, those who are wise will be despised if they are poor. What they say will not be appreciated for long.