The text is a proverbial expression suggesting that a person with a good mind has vast resources or wealth within themselves. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
A good mind possesses a kingdom .