means that
neglecting work and preparation in youth may leave a person without sufficient resources in later life.
The saying “An idle youth, a needy age,” can be used when if you don't work hard when you are young, you will have nothing set aside for tour old age.