To add unnecessary ornamentation to something already beautiful.
Background
The phrase 'gild the lily' is a misquotation from Shakespeare's play 'King John', where the original line is 'to paint the lily'. It suggests that adding gold to a lily, which is already naturally beautiful, is excessive.