What is the meaning of [Stretch your legs according to your coverlet]

This teaches adaptability. If when you lie full length your lower limbs are
not covered by the bedclothes, you must bend your legs in order to keep warm.
It also teaches prudence. If you stretch your legs beyond your coverlet, your
feet will get cold. In other words, try always to adjust yourself to
circumstances and live within your means.