An ounce of prevention is worth a pound of cure.

Meaning: It is easy and better to prevent a problem occurring in the first place, rather than spending time, effort and money in repairing it later.