Ecclesiastes 4:13 in the King James Version
Better is a poor and a wise child than an old and foolish king, who will no more be admonished.
Context
12 If a man prevails against one who is alone, two shall withstand him; and a threefold cord is not quickly broken.
13 Better is a poor and wise youth than an old and foolish king who doesn’t know how to receive admonition any more.
14 For out of prison he came out to be king; yes, even in his kingdom he was born poor.