Ecclesiastes 4:13

Better is a boy, poor and wise, than a king, old and foolish, who does not know to look ahead for the sake of posterity

Other versions

King James Version

Better is a poor and a wise child than an old and foolish king, who will no more be admonished.

English Standard Version

Better was a poor and wise youth than an old and foolish king who no longer knew how to take advice.

New International Version

Better a poor but wise youth than an old but foolish king who no longer knows how to take warning.