What does a stitch in time mean?

a stitch in time meaning in Urban Dictionary

a thing that saves nine. A phrase that arrived to coinage in the nineteenth century and thus if someone is addressed in the early stages, he/she has a far better possibility of suriving.