Who was the first to say "All that glitters is not gold"? - all that glitters is not gold muppet treasure island

And yes, I see it really shines, but people know what they seem.
Was Shakespeare in The Merchant of Venice and there was previously mentioned?