因小失大

spoil the ship for a halfpennyworth of tar, try to save a little but lose a lot

yīn xiǎo shī dà ㄧㄣ ㄒㄧㄠˇ ㄕㄧ ㄉㄚˋ