“All that glitters is not gold” is an aphorism stating that not everything that looks precious or true turns out to be so. While early expressions of the idea are known from at least the 12th–13th century, the current saying is derived from a 16th-century line by William Shakespeare:
_
William Shakespeare_