転ばぬ先の杖(ころばぬさきのつえ)

Japanese vocabulary

Meaning: prevention is better than cure; an ounce of prevention is worth a pound of cure; look before you leap; forewarned is forearmed; a stitch in time saves nine

See it used in real works