The expression comes from a misquotation from Shakespeare's King John; the actual passage says "To gild refined gold, to paint the lily"