Idiom: Stitch in time saves nine

See also: