“Wisdom is good with an inheritance: and by it there is profit to them that see the sun. For wisdom is a defence, and money is a defence: but the excellency of knowledge is, that wisdom giveth life to them that have it. Consider the work of God: for who can make that straight, which he hath made crooked? In the day of prosperity be joyful, but in the day of adversity consider: God also hath set the one over against the other, to the end that man should find nothing after him.”
Ecclesiastes 7:11-14 KJV
https://bible.com/bible/1/ecc.7.11-14.KJV