买椟还珠 (mǎi dú huán zhū): to buy a wooden box and return the pearls inside; to show poor judgment

买mǎi椟dú还huán珠zhū

to buy a wooden box and return the pearls inside; to show poor judgment

The buyer kept the beautiful box and gave back the pearl. For choosing packaging over substance.