Ecclesiastes 4:14

For sometimes, one goes forth from prison and chains, to a kingdom, while another, born to kingly power, is consumed by need

Other versions

King James Version

For out of prison he cometh to reign; whereas also he that is born in his kingdom becometh poor.

English Standard Version

For he went from prison to the throne, though in his own kingdom he had been born poor.

New International Version

The youth may have come from prison to the kingship, or he may have been born in poverty within his kingdom.