Find the word definition

Wiktionary
spoil the ship for a hap'orth of tar

prov. To have something important fail for want of a small amount of money or effort.