proverb

Prevention is better than cure;

prevention

meaning that

It takes much more effort to put right something that could have been prevented with a little effort.

Related

also

Also

Who repairs not his gutters repairs his whole house. An ounce of prevention is worth a pound of cure.